Didn't find class "com.android.tools.fd.runtime.BootstrapApplication"
2016-09-28 14:56
489 查看
在部分机器上开启开启Instantrun,出现“ClassNotFoundException: Didn't find class"com.android.tools.fd.runtime.BootstrapApplication" on path:DexPathList”问题,可以通过下面的方式解决,在“AndroidManifest.xml”中配置的自定义Application,添加默认构造函数:
1)AndroidManifest.xml中的Application配置:
2)MyApplication中添加默认构造函数:
1)AndroidManifest.xml中的Application配置:
<application android:name=".MyApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> |
public MyApplication() { super(); } |
相关文章推荐
- Didn't find class "com.android.tools.fd.runtime.BootstrapApplication"
- ClassNotFoundException:"com.android.tools.fd.runtime.BootstrapApplication"
- ClassNotFoundException:"com.android.tools.fd.runtime.BootstrapApplication"
- java.lang.ClassNotFoundException: com.android.tools.fd.runtime.BootstrapApplication
- android 构建项目bug之 Didn't find class "com.android.tools.fd.runtime.BootstrapApplication"
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- 安卓开发问题之 Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- Android Studio:Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.Bootstrap
- java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.Bootstrap
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- Unable to instantiate application com.android.tools.fd.runtime.Bootstrap
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication 解决办法
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication:
- java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.Bootstrap
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication的错误解决
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication
- 安卓开发问题之 Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication