Cipher.so icon indicating copy to clipboard operation
Cipher.so copied to clipboard

Error trying to start sample, no activity.

Open victorcs85 opened this issue 6 years ago • 6 comments

I can not start the test project. Displays the following error.

Error while executing: am start -n "net.idik.lib.cipher.so.sample/net.idik.lib.cipher.so.sample.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=net.idik.lib.cipher.so.sample/.MainActivity }
Error type 3
Error: Activity class {net.idik.lib.cipher.so.sample/net.idik.lib.cipher.so.sample.MainActivity} does not exist.

Error while Launching activity

Is there any special configuration for proguard? I run in the 64 bits architecture device.

victorcs85 avatar Jan 16 '18 09:01 victorcs85

this is wired. i try again and it works for me. the sample is a normal android project without proguard, and the error message shows the issues is not caused by this lib. maybe you could try sample2?

linisme avatar Jan 17 '18 02:01 linisme

I'm try and not work again!

victorcs85 avatar Jan 17 '18 12:01 victorcs85

how about this ->HelloCipherSo

linisme avatar Jan 18 '18 12:01 linisme

same error log both of your sample can't started by the same error:Activity class {..../MainActivity} does not exist. as one of the message "net.idik.lib.cipher.so.sample/net.idik.lib.cipher.so.sample.MainActivity" i guess you had duplicated package path

Neuifo avatar Jan 19 '18 07:01 Neuifo

HelloCipherSo also has this issue , when I build again.

hongInBlack avatar Jan 22 '18 03:01 hongInBlack

Hi, is there any update about this issue? i'm facing exactly the same issue

android.intent.action.MAIN -c android.intent.category.LAUNCHER Error while executing: am start -n "net.idik.lib.cipher.so.sample2/net.idik.lib.cipher.so.sample2.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=net.idik.lib.cipher.so.sample2/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } } Error type 3 Error: Activity class {net.idik.lib.cipher.so.sample2/net.idik.lib.cipher.so.sample2.MainActivity} does not exist. Error while Launching activity

@MEiDIK the build is fine, but there is something wrong with push & install task, this error issue caused by adb starting something which is not installed before . .

i try to install my APK from build directory using adb command

adb install -t -r my/path/file.apk and yes, it works . . : the problem is, it's not call adb push path/file.apk /data/local/tmp/applicationId adb shell pm install -t -r "/data/local/tmp/applicationId" before starting cmiiw

herisulistiyanto avatar Mar 08 '18 18:03 herisulistiyanto