Comments (10)
本地Android Studio环境问题,http://stackoverflow.com/questions/33967703/unable-to-instantiate-application-com-android-tools-fd-runtime-bootstrapapplicat
话说不能自己查一下么,同学
from girls.
奔溃+1, 博主解决了有空回复一下
from girls.
@luffykou 我不明白的是我直接安装他的debug包,难道还需要修改自己的AS配置吗
from girls.
我试过直接安装girls.apk
- 努比亚 Andorid5.0系统——安装正常,首页可用,其他问题不表。
- Nexus 6P Android6.0系统——安装正常,可用。
所以,请把问题描述清楚:
- 什么环境(开发环境、运行环境)下
- 做什么操作
- 发生了什么问题
from girls.
Nexus 5 Android 4.4.4 启动奔溃
from girls.
不好意思是我传的包有问题,大家在自己的环境下 编译下就ok了
from girls.
@shixinzhang
android4.4.4模拟器试了下,确实启动崩溃。
打了新包 下载Girls-V1.02.apk
from girls.
@luffykou
我这边用的4.4的测试机没有问题
5.0也没有问题啊
方便的话你可以提供日志
from girls.
android 4.4.4模拟器,使用你在README.md提供的apk
- install信息
1877 KB/s (2409087 bytes in 1.252s)
WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
pkg: /data/local/tmp/girls_app-debug.apk
Success - 启动信息
04-23 00:04:56.793 1868-1868/com.flyou.girls D/dalvikvm: Not late-enabling CheckJNI (already on)
04-23 00:04:56.833 1868-1868/com.flyou.girls D/AndroidRuntime: Shutting down VM
04-23 00:04:56.833 1868-1868/com.flyou.girls W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xb3cbbb20)
04-23 00:04:56.833 1868-1868/com.flyou.girls E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.flyou.girls, PID: 1868
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.flyou.girls-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.flyou.girls-1, /system/lib]]
at android.app.LoadedApk.makeApplication(LoadedApk.java:507)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4301)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.tools.fd.runtime.BootstrapApplication" on path: DexPathList[[zip file "/data/app/com.flyou.girls-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.flyou.girls-1, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newApplication(Instrumentation.java:975)
at android.app.LoadedApk.makeApplication(LoadedApk.java:502)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4301)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
from girls.
@luffykou 我传的包有问题,我的锅,已经更换
from girls.
Related Issues (12)
- 只能看见主页的图片,点击进去看不见具体的图片了 HOT 7
- 图片下载的后,是文件夹,在手机上无法显示 HOT 1
- 哈哈哈
- 网站已经凉凉
- 网站的图片都无法显示.搞什么呀
- ListView Item
- 类似图片的接口提供网站
- 我更想学习下,python爬虫怎么写的 HOT 3
- 顺便把python也开源了呗
- 没有左右滑动切图吗 HOT 1
- 侬好啊,我在廖祜秋那看到了你的demo,特此跑来转转 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from girls.