Home > Mobile >  26 Android studio project in the Android 8.0 (API) simulator run flash back, but in low (Android 6.0
26 Android studio project in the Android 8.0 (API) simulator run flash back, but in low (Android 6.0

Time:11-21

Android studio project, on the simulator API 22 (API 15 & lt; Run & lt; API 26, normal operation, but the API 26 (26) or greater than the API simulator can't start the app, on a real machine, the same low android version of the mobile phone can run; Android 8.0 phone can install success, but was unable to start the APP, a great god, please grant instruction!

The following is a part of the Logcat record:
The 2019-05-04 20:38:00. 005, 1653-1669/system_process E/memtrack: Couldn 't load memtrack module

The 2019-05-04 20:38:00. 005. 1653-1669/system_process W/android OS. The Debug: failed to get the memory consumption info: 1

2019-05-04 20:40:00. 003, 1653-1669/system_process E/memtrack: Couldn 't load memtrack module

2019-05-04 20:40:00. 003. 1653-1669/system_process W/android OS. The Debug: failed to get the memory consumption info: - 1

2019-05-04 20:40:00. 021, 1653-1669/system_process E/memtrack: Couldn 't load memtrack module

2019-05-04 20:40:00. 021. 1653-1669/system_process W/android OS. The Debug: failed to get the memory consumption info: - 1

The 2019-05-04 20:40:02. 793, 1653-1673/system_process E/BatteryStatsService: modem info is invalid: ModemActivityInfo {mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs []=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

CodePudding user response:

Add: android can run under 8.0, starting from android 8.0 can not run

CodePudding user response:

Breakpoints break points, the debug mode to go in one line, which part should be caused by incompatible

CodePudding user response:

Send key log, this log has nothing to do with your app,

CodePudding user response:

Flash back log

CodePudding user response:

Log posted wrong, novice blog's common question 1 has described how to find log https://blog.csdn.net/weimingjue/article/details/87921494

CodePudding user response:

Below is the log, I am a newcomer, please teach


The 2019-05-06 01:19:04. 972, 3554-3554/? I/zygote: Not newest - enabling the -xcheck: jni (already on)
The 2019-05-06 01:19:05. 012, 3554-3554/? W/zygote: Unexpected CPU variant for X86 using defaults: X86
The 2019-05-06 01:19:05. 257, 3554-3578/com. Tjsinfo. Mobileipap E/AndroidRuntime: FATAL EXCEPTION: Thread - 2
Process: com. Tjsinfo. Mobileipap, PID: 3554
Java. Lang. SecurityException: Permission ": reading com. Android. Will. Media. The MediaProvider uri for the content://media/external/images/media from pid=3554, uid=10085 requires android. Permission. READ_EXTERNAL_STORAGE, or grantUriPermission ()
. An android OS. Parcel. ReadException (1943) Parcel. Java:
An android. Database. DatabaseUtils. ReadExceptionFromParcel (DatabaseUtils. Java: 183)
An android. Database. DatabaseUtils. ReadExceptionFromParcel (DatabaseUtils. Java: 135)
An android. Content. ContentProviderProxy. Query (ContentProviderNative. Java: 418)
An android. Content. ContentResolver. The query (ContentResolver. Java: 754)
An android. Content. ContentResolver. The query (ContentResolver. Java: 704)
An android. Content. ContentResolver. The query (ContentResolver. Java: 662)
At com. Tjsinfo. Mobileipap. Util. PickImage. LocalImageHelper. InitImage (LocalImageHelper. Java: 135)
At com. Tjsinfo. Mobileipap. Util. PickImage. LocalImageHelper $1. The run (LocalImageHelper. Java: 103)
The at Java. Lang. Thread. The run (Thread. Java: 764)
The 2019-05-06 01:19:05. 393, 3554-3554/com. Tjsinfo. Mobileipap D/NetworkSecurityConfig: No Network Security Config specified, using platform default
The 2019-05-06 01:19:06. 560, 3554-3559/com. Tjsinfo. Mobileipap I/zygote: Do partial code cache collection, code=28 KB, data=https://bbs.csdn.net/topics/21KB
The 2019-05-06 01:19:06. 563, 3554-3559/com. Tjsinfo. Mobileipap I/zygote: After code cache collection, code=28 KB, data=https://bbs.csdn.net/topics/21KB
The 2019-05-06 01:19:06. 563, 3554-3559/com. Tjsinfo. Mobileipap I/zygote: Increasing code cache capacity to 128 KB
The 2019-05-06 01:19:06. 821, 3554-3554/com. Tjsinfo. Mobileipap W/nAnnotationIntrospector: Unable to load JDK7 annotation types. Will have to skip
The 2019-05-06 01:19:06. 943, 3554-3618/com. Tjsinfo. Mobileipap D/OpenGLRenderer: HWUI GL Pipeline
The 2019-05-06 01:19:07. 135, 3554-3614/com. Tjsinfo. Mobileipap V/mTAG: json
The 2019-05-06 01:19:07. 582, 3554-3554/com. Tjsinfo. Mobileipap E/SplashActivity: is the latest version of
The 2019-05-06 01:19:08. 900, 3554-3565/com. Tjsinfo. Mobileipap I/zygote: Background concurrent copying GC freed 3064 (375 KB) AllocSpace objects, 0 (0 b) LOS objects, 57% free, 1133 KB/2 MB, paused 4.605 ms total 157.009 ms
The 2019-05-06 01:19:08. 957, 3554-3554/com. Tjsinfo. Mobileipap I/TextInputLayout: EditText added is not a TextInputEditText both Please switch to using that class home.
The 2019-05-06 01:19:08. 965, 3554-3554/com. Tjsinfo. Mobileipap I/TextInputLayout: EditText added is not a TextInputEditText both Please switch to using that class home.
The 2019-05-06 01:19:09. 083, 3554-3618/com. Tjsinfo. Mobileipap I/OpenGLRenderer: the Initialized EGL, version 1.4
The 2019-05-06 01:19:09. 083, 3554-3618/com. Tjsinfo. Mobileipap D/OpenGLRenderer: Swap behaviors 1
The 2019-05-06 01:19:09. 083, 3554-3618/com. Tjsinfo. Mobileipap W/OpenGLRenderer: Failed to choose the config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related