기기에 앱을 설치할 때마다 오류가 발생합니다.java.lang.String에 대한 구현이 없습니다. android.os.SystemProperties.native_get (java.lang.String)
03/24 18:56:08: Launching app
$ adb push /home/itstym/AndroidStudioProjects/hlthee/app/build/outputs/apk/app-debug.apk /data/local/tmp/user.com.hlthee
$ adb shell pm install -r "/data/local/tmp/user.com.hlthee"
java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String android.os.SystemProperties.native_get(java.lang.String) (tried Java_android_os_SystemProperties_native_1get and Java_android_os_SystemProperties_native_1get__Ljava_lang_String_2)
at android.os.SystemProperties.native_get(Native Method)
at android.os.SystemProperties.get(SystemProperties.java:52)
at android.os.Environment.getCanonicalPathOrNull(Environment.java:832)
at android.os.Environment.<clinit>(Environment.java:78)
at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java:419)
at android.os.Debug.<clinit>(Debug.java:96)
at android.ddm.DdmHandleHello.handleHELO(DdmHandleHello.java:164)
at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java:91)
at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
java.lang.UnsatisfiedLinkError: android.os.Debug
at android.ddm.DdmHandleHello.handleFEAT(DdmHandleHello.java:176)
at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java:93)
at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
java.lang.UnsatisfiedLinkError: android.os.Debug
at android.ddm.DdmHandleProfiling.handleMPRQ(DdmHandleProfiling.java:187)
at android.ddm.DdmHandleProfiling.handleChunk(DdmHandleProfiling.java:88)
at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
Aborted
$ adb shell am start -n "user.com.hlthee/user.com.hlthee.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Error while executing: am start -n "user.com.hlthee/user.com.hlthee.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=user.com.hlthee/.WelcomeActivity }
Error type 3
Error: Activity class {user.com.hlthee/user.com.hlthee.WelcomeActivity} does not exist.
Error while Launching activity
해결 시도 :
- 청소 프로젝트 및 재건.
- 무효화/재시작 옵션.
- 이전 apk를 제거하고 다시 설치하려고했습니다.
- HTC M8 Unsatisfied Link Error after 5.0.1 update이 링크 대답에 이어
- Unable to test app after upgrading to Lollipop이 링크에 대한 답변도 이어져 있습니다.
장치 : Micromax OS : 5.0
어떤 시스템 속성을 얻으려고합니까? – Remario
잘 모르겠습니다. 나는 장치에 apk를 설치하고 있습니다. @CaspainCaldion –