Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selendroid adds base package name to main activity #1074

Open
Vastland opened this issue Jul 25, 2016 · 0 comments
Open

Selendroid adds base package name to main activity #1074

Vastland opened this issue Jul 25, 2016 · 0 comments

Comments

@Vastland
Copy link

Vastland commented Jul 25, 2016

Hi there!
Thanks for your great work guys!
Has a problem, not sure whether or not it's my problem or I found a bug in selendroid.
So the problem is that in previous version of .apk file I had something like this
{"mainActivity":"com.sitename.anotherword.controllers.splash.SplashActivity","appId":"com.sitename.anotherword:1.11.2","basePackage":"com.sitename.anotherword"}]},"status":0}

then in new version I had this
{"mainActivity":"sitename.anotherword.controllers.splash.SplashActivity","appId":"com.sitename.anotherword:1.11.2","basePackage":"com.sitename.anotherword"}]},"status":0}

so mainActivity was changed
and after that I started to get this exception
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.sitename.anotherword/sitename.anotherword.controllers.splash.SplashActivity}; have you declared this activity in your AndroidManifest.xml?

So I wondering why selendroid adds this com.sitename.anotherword/ to the activity? Even if I added activity by this method 'setLaunchActivity'

Please check whether or not problem in my code or application, or maybe it's a bug in selendroid?

Thank you in advance!

@Vastland Vastland changed the title Selendriod adds base package name to main activity Selendroid adds base package name to main activity Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant