Guest User

Untitled

a guest
Feb 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. defaultConfig {
  2. multiDexEnabled true
  3.  
  4. depenencies {
  5. ...
  6. compile 'com.android.support:multidex:1.0.1'
  7. ...
  8. }
  9.  
  10. 02-21 16:07:05.043 3348-3348/? E/memtrack: Couldn't load memtrack module (No such file or directory) 02-21 16:07:05.043 3348-3348/? E/android.os.Debug: failed to load memtrack module: -2 02-21 16:07:19.723 3359-3359/? E/memtrack: Couldn't load memtrack module (No such file or directory) 02-21 16:07:19.723 3359-3359/? E/android.os.Debug: failed to load memtrack module: -2 02-21 16:07:19.923 2015-2015/com.google.android.gms E/dalvikvm: Dex cache directory isn't writable: /data/dalvik-cache 02-21 16:07:19.923 2015-2015/com.google.android.gms E/ChimeraModuleLdr: Initialization failed for module apk com.google.android.play.games
  11. java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.chimera.GmsModuleInitializer" on path: DexPathList[[zip file "/system/app/PlayGames.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  12. at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  13. at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
  14. at csg.loadClass(:com.google.android.gms@11947030:3)
  15. at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
  16. at com.google.android.gms.chimera.container.GmsModuleApi.onApkLoaded(:com.google.android.gms@11947030:1)
  17. at csm.a(:com.google.android.gms@11947030:88)
  18. at csm.a(:com.google.android.gms@11947030:35)
  19. at csm.a(:com.google.android.gms@11947030:118)
  20.  
  21. public class MyApplication extends MultiDexApplication { ... }
  22.  
  23. <?xml version="1.0" encoding="utf-8"?>
  24. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  25. package="com.example.myapp">
  26. <application
  27. android:name="android.support.multidex.MultiDexApplication" >
  28. ...
  29. </application>
  30. </manifest>
  31.  
  32. public class MyApplication extends SomeOtherApplication {
  33. @Override
  34. protected void attachBaseContext(Context base) {
  35. super.attachBaseContext(context);
  36. Multidex.install(this);
  37. }
  38. }
Add Comment
Please, Sign In to add comment