升级到Android Studio2.1的童鞋小心这个坑

昨天用Android Studio2.1给之前用Android Studio老版本做的APP做了个小升级发布,新生成的APK尽然直接闪退。挂上logcat看到以下log:

java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication: java.lang.ClassNotFoundException: Didn't find class "com.android.tools.fd.runtime.BootstrapApplication" on path: DexPathList[[zip file "/data/app/com.dlcoder.test.apk"],nativeLibraryDirectories=[/data/app-lib/com.dlcoder.test.apk, /vendor/lib, /system/lib]]

原来是这个原因

升级到Android Studio2.1的童鞋小心这个坑

http://stackoverflow.com/questions/33967703/unable-to-instantiate-application-com-android-tools-fd-runtime-bootstrapapplicat

取消后重新发布果然复活

升级到Android Studio2.1的童鞋小心这个坑

小心为妙

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: