argument and app was signed with appium certificate, Appium was not able to launch the required activity
Starting: Intent { cmp=com.test.amdocs/.activity.LauncherActivity }
java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000
cmp=com.test.amdocs/.activity.LauncherActivity } from null (pid=8992, uid=2000) not exported from uid 10078
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:1921)
at com.android.commands.am.Am.runStart(Am.java:494)
at com.android.commands.am.Am.run(Am.java:109)
at com.android.commands.am.Am.main(Am.java:82)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
at dalvik.system.NativeStart.main(Native Method)
info: Checking whether we need to run fast reset
debug: checkKeystoreMD5
debug: Printing keystore md5: "C:\Program Files\Java\jdk1.7.0_07\bin\keytool.exe" -v -list -alias "androiddebugkey" -keystore "C:\Users\aniketg\.android\debug.keystore" -storepass "android"
debug: Keystore MD5: 86:3B:7C:C8:99:3C:B6:6F:99:93:35:E2:20:9A:8C:5F
debug: checkApkMD5
debug: Entry: META-INF/CERT.RSA
debug: entryPath: C:\Windows\Temp\com.test.amdocs\cert
debug: entryFile: C:\Windows\Temp\com.test.amdocs\cert\META-INF\CERT.RSA
debug: extracted!
debug: Printing apk md5: "C:\Program Files\Java\jdk1.7.0_07\bin\keytool.exe" -v -printcert -file C:\Windows\Temp\com.test.amdocs\cert\META-INF\CERT.RSA
debug: entryHash MD5: E8:9B:15:8E:4B:CF:98:8E:BD:09:EB:83:F5:37:8E:87
debug: keystore MD5: 86:3B:7C:C8:99:3C:B6:6F:99:93:35:E2:20:9A:8C:5F
debug: Matches keystore? false
debug: checkApkCert match? false
debug: checkKeystoreMD5
debug: Printing keystore md5: "C:\Program Files\Java\jdk1.7.0_07\bin\keytool.exe" -v -list -alias "androiddebugkey" -keystore "C:\Users\aniketg\.android\debug.keystore" -storepass "android"
debug: Keystore MD5: 86:3B:7C:C8:99:3C:B6:6F:99:93:35:E2:20:9A:8C:5F
debug: checkApkMD5
debug: Entry: META-INF/CERT.RSA
debug: entryPath: C:\Windows\Temp\com.test.amdocs\cert
debug: entryFile: C:\Windows\Temp\com.test.amdocs\cert\META-INF\CERT.RSA
debug: extracted!
debug: Printing apk md5: "C:\Program Files\Java\jdk1.7.0_07\bin\keytool.exe" -v -printcert -file C:\Windows\Temp\com.imdb.mobile\cert\META-INF\CERT.RSA
debug: entryHash MD5: 6C:7A:55:37:B0:5F:DB:E3:57:60:BB:32:96:6D:B7:CA
debug: keystore MD5: 86:3B:7C:C8:99:3C:B6:6F:99:93:35:E2:20:9A:8C:5F
debug: Matches keystore? false
debug: checkApkCert match? false
debug: App signed? false C:\Amdocs\Automation Frameworks\Appium\Test Apps\test\test.apk
info: Building fast reset
info: Checking whether aapt is present
info: [ADB] Using aapt from C:\Program Files\Android\android-sdk\build-tools\17.
0.0\aapt.exe
info: Compiling manifest C:\Windows\Temp\AndroidManifest.xml
debug: "C:\Program Files\Android\android-sdk\build-tools\17.0.0\aapt.exe" package -M "C:\Windows\Temp\AndroidManifest.xml" --rename-manifest-package "com.test.amdocs.clean" --rename-instrumentation-target-package "com.test.amdocs" -I "C:\Program Files\Android\android-sdk\platforms\android-17\android.jar" -F "C:\Windows\Temp\AndroidManifest.xml.apk" -f
debug: Compiled manifest
info: Inserting manifest, src: C:\Amdocs\Automation Frameworks\Appium\appium-git\app\android\Clean.apk, dst: C:\Windows\Temp\com.test.amdocs.clean.apk
debug: Extracting manifest
info: Unzipping C:\Windows\Temp\AndroidManifest.xml.apk
info: Testing zip archive: C:\Windows\Temp\AndroidManifest.xml.apk
info: Zip archive tested clean
info: Unzip successful
debug: Writing tmp apk. C:\Amdocs\Automation Frameworks\Appium\appium-git\app\android\Clean.apk to C:\Windows\Temp\com.test.amdocs.clean.apk
debug: Testing new tmp apk.
info: Testing zip archive: C:\Windows\Temp\com.test.amdocs.clean.apk
info: Zip archive tested clean
AndroidManifest.xml
debug: Inserted manifest.
debug: Signing app and clean apk.
debug: Unsigning apk with: "C:\Program Files\Java\jdk1.7.0_07\bin\java.exe" -jar
"C:\Amdocs\Automation Frameworks\Appium\appium-git\app\android\unsign.jar" "C:\Windows\Temp\com.test.amdocs.clean.apk"
debug: Unsigning apk with: "C:\Program Files\Java\jdk1.7.0_07\bin\java.exe" -jar
"C:\Amdocs\Automation Frameworks\Appium\appium-git\app\android\unsign.jar" "C:\Amdocs\Automation Frameworks\Appium\Test Apps\IMDB\IMDb_3.2.2.apk"
warn: Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
error: Failed to start an Appium session, err was: Error: Could not unsign apk.
Are you sure the file path is correct: "C:\\Windows\\Temp\\com.test.amdocs.clean.apk"
info: Responding to client with error: {"status":6,"value":{"message":"A session
is either terminated or not started (Original error: Could not unsign apk. Are
you sure the file path is correct: \"C:\\\\Windows\\\\Temp\\\\com.test.amdocs.clean.apk\")","origValue":"Could not unsign apk. Are you sure the file path is cor