这方面的只是还不是很懂,百度了也说的很乱,我想问问是我的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
選單欄,Tools -> Adnroid -> enable ADB integration