title: Android Telegram Project Runtime Error
body: <p>I have downloaded the Telegram project from the following repository (<a href="https://github.com/DrKLO/Telegram" rel="nofollow">https://github.com/DrKLO/Telegram</a>) and I have edited the <em>BuildVars.java</em> to put my <strong>APP_ID</strong> and <strong>APP_HASH</strong>, and also I have registered in hockeyapp.net to have get the <strong>HOCKEY_APP_HASH</strong>. And now, when I run the project it stops having an Exception. As I see, it says that "<strong><em>org.telegram.messenger.ApplicationLoader</em></strong>" is not found. But it is there in "java/org/telegram/messenger/" folder. Please help me to figure out this problem.</p>
  
  <hr>
  
  <p>Log cat output:</p>
  
  <pre><code>02-07 20:26:36.204: D/AndroidRuntime(1089): Shutting down VM
  02-07 20:26:36.257: E/AndroidRuntime(1089): FATAL EXCEPTION: main
  02-07 20:26:36.257: E/AndroidRuntime(1089): Process: org.telegram.messenger, PID: 1089
  02-07 20:26:36.257: E/AndroidRuntime(1089): java.lang.RuntimeException: Unable to instantiate application org.telegram.messenger.ApplicationLoader: java.lang.ClassNotFoundException: Didn't find class "org.telegram.messenger.ApplicationLoader" on path: DexPathList[[zip file "/data/app/org.telegram.messenger-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.telegram.messenger-1, /vendor/lib, /system/lib]]
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.LoadedApk.makeApplication(LoadedApk.java:517)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4370)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.ActivityThread.access$1500(ActivityThread.java:143)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.os.Handler.dispatchMessage(Handler.java:102)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.os.Looper.loop(Looper.java:135)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.ActivityThread.main(ActivityThread.java:5070)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at java.lang.reflect.Method.invoke(Native Method)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at java.lang.reflect.Method.invoke(Method.java:372)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
  02-07 20:26:36.257: E/AndroidRuntime(1089): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.telegram.messenger.ApplicationLoader" on path: DexPathList[[zip file "/data/app/org.telegram.messenger-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.telegram.messenger-1, /vendor/lib, /system/lib]]
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.Instrumentation.newApplication(Instrumentation.java:976)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     at android.app.LoadedApk.makeApplication(LoadedApk.java:512)
  02-07 20:26:36.257: E/AndroidRuntime(1089):     ... 10 more
  02-07 20:26:36.257: E/AndroidRuntime(1089):     Suppressed: java.lang.ClassNotFoundException: org.telegram.messenger.ApplicationLoader
  02-07 20:26:36.257: E/AndroidRuntime(1089):         at java.lang.Class.classForName(Native Method)
  02-07 20:26:36.257: E/AndroidRuntime(1089):         at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
  02-07 20:26:36.257: E/AndroidRuntime(1089):         at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
  02-07 20:26:36.257: E/AndroidRuntime(1089):         at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
  02-07 20:26:36.257: E/AndroidRuntime(1089):         ... 13 more
  02-07 20:26:36.257: E/AndroidRuntime(1089):     Caused by: java.lang.NoClassDefFoundError: Class "Lorg/telegram/messenger/ApplicationLoader;" not found
  02-07 20:26:36.257: E/AndroidRuntime(1089):         ... 17 more
  02-07 20:26:43.890: I/Process(1089): Sending signal. PID: 1089 SIG: 9
  </code></pre>