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

How to build AppiumBootstrap.jar #39

Closed
haluong opened this issue Feb 1, 2017 · 3 comments
Closed

How to build AppiumBootstrap.jar #39

haluong opened this issue Feb 1, 2017 · 3 comments

Comments

@haluong
Copy link

haluong commented Feb 1, 2017

Hi all,

I tried to build AppiumBootstrap.jar by doing the steps as https://github.com/appium/appium-android-bootstrap/blob/master/bootstrap/README.md, and I got bootstrap-1.0.0-SNAPSHOT.jar.
I installed Appium by using AppiumForWindows_1_4_13_1.zip. And I renamed bootstrap-1.0.0-SNAPSHOT.jar to AppiumBootstrap.jar, ran Appium and has the error

info: [debug] spawning: C:\Users{Window user}\AppData\Local\Android\sdk\platform-tools\adb.exe -s 169.254.138.177:5555 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.microsoft.office.outlook -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] WARNING: linker:
info: [debug] [UIAUTOMATOR STDOUT] libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_RESULT: shortMsg=java.lang.RuntimeException
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_RESULT: longMsg=Didn't find class "io.appium.android.bootstrap.Bootstrap" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/uiautomator.jar", zip file "/data/local/tmp/AppiumBootstrap.jar"],nativeLibraryDirectories=[/system/lib]]
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_CODE: 0
info: [debug] UiAutomator exited

Could you please help me the issue? How can I rebuild AppiumBootstrap.jar?

Thanks,
Ha

@jlipps
Copy link
Contributor

jlipps commented Feb 1, 2017

Appium builds the bootstrap for you, there is no need to build it yourself. Why are you trying to do this?

@haluong
Copy link
Author

haluong commented Feb 2, 2017

I'd like to contribute to Appium code, is that possible? How can I get started?

@jlipps
Copy link
Contributor

jlipps commented Feb 2, 2017

Yes, check out https://github.com/appium/appium/blob/master/docs/en/contributing-to-appium/developers-overview.md for information on contributing. To rebuild the AppiumBootstrap.jar, you can simply run gulp ant-build. This also happens on NPM install etc.

@jlipps jlipps closed this as completed Feb 2, 2017
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

2 participants