在我的设备上安装我的应用程序时出错
Error when installing my application on my device
当我尝试在 genymotion 上安装应用程序时,它运行没有问题,但是当我尝试在我的物理设备上安装它时,出现此错误
Installation did not succeed.
The application could not be installed.
Installation failed due to: ''pm install-create -r -t -S 4930945' returns error 'Unknown
failure: 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:83)
at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java:419)
at android.os.Debug.<clinit>(Debug.java:101)
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)
这是我的代码
https://github.com/AbdallahNaguib/Images-Loader
android 我的设备版本是 5.1
我的 android 工作室版本是 3.6
关闭"Developer Options"中的"Verify Apps over USB"。如果它不起作用,请尝试在开发人员选项中撤销 USB 调试授权
当我尝试在 genymotion 上安装应用程序时,它运行没有问题,但是当我尝试在我的物理设备上安装它时,出现此错误
Installation did not succeed.
The application could not be installed.
Installation failed due to: ''pm install-create -r -t -S 4930945' returns error 'Unknown
failure: 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:83)
at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java:419)
at android.os.Debug.<clinit>(Debug.java:101)
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)
这是我的代码 https://github.com/AbdallahNaguib/Images-Loader
android 我的设备版本是 5.1 我的 android 工作室版本是 3.6
关闭"Developer Options"中的"Verify Apps over USB"。如果它不起作用,请尝试在开发人员选项中撤销 USB 调试授权