Recently, I am studying development on Samsung Knox based on my SDK on Android Studio. "hardware-access" is an example of an application uploaded to its official website. But when I try to install a phone on my Samsung Galaxy S5, the phone cannot open the application and the “Sample2 stopped” alerts; Android Studio prints the following data:
06/22 08:37:10: Launching app
No apk changes detected since last installation, skipping installation of C:\workspace\aisino\download-codes\Samsung\Sample2\app\build\outputs\apk\app-debug.apk
$adb shell am force-stop com.samsung.android.sdk.b2b.samples.cSDKsample2
$adb shell am start -n "com.samsung.android.sdk.b2b.samples.cSDKsample2/com.samsung.android.sdk.b2b.samples.cSDKsample2.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..
source
share