用androidstudio写的读取手机通讯录的应用,写完每次一运行就已停止运行,不知道什么问题
这方面的只是还不是很懂,百度了也说的很乱,我想问问是我的JDK没有安装完整吗,我的API是23,
这个问题是什么意思:
Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
不好意思有点忙,我才看到你们的回复,这是错误的LOG
LOG的图片还是有点看不清,我把文字赋值贴在这里吧:
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.os.Parcel.readException(Parcel.java:1425)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.content.ContentResolver.query(ContentResolver.java:372)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.content.ContentResolver.query(ContentResolver.java:315)
10-29 12:32:56.149: E/AndroidRuntime(1773): at com.example.yun.getphonenumber.MainActivity.onCreate(MainActivity.java:22)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.app.Activity.performCreate(Activity.java:5104)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
10-29 12:32:56.149: E/AndroidRuntime(1773): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
10-29 12:32:56.149: E/AndroidRuntime(1773): ... 11 more
10-29 12:32:56.160: E/SurfaceFlinger(786): ro.sf.lcd_density must be defined as a build property
10-29 12:32:56.370: E/SurfaceFlinger(786): ro.sf.lcd_density must be defined as a build property
10-29 12:33:42.870: E/ThrottleService(1206): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
: E/(): LogCat Connection error
: E/(): Device disconnected: 1
: E/(): Device disconnected
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
菜单栏,Tools -> Adnroid -> enable ADB integration