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

Help for building apk for android SDKs which doesn't support .so files anymore #55

Closed
KishanDasani opened this issue May 9, 2024 · 3 comments

Comments

@KishanDasani
Copy link

KishanDasani commented May 9, 2024

I have Google Pixel 14 device. I am using STF. I faced issue in enrolling this device on STF but it was resolved once I updated the APK.

Post that, the screen of this device was not getting fetched due to errors in minicap as given in #54

I followed the fix in repeato-qa fork and built the project via ndk-build as given in readme. have explained it in this comment.

if .so files are no more supported for newer android SDKs, can anyone please guide me with how to build minicap apk?

@KishanDasani
Copy link
Author

I got a response in #54 that we can simply build an apk from experimental folder and possibly I can replace the apk under node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch.

Screenshot 2024-05-10 at 09 39 09
image 1: place of minicap apk under node_modules

but this will give me a debug apk and I want to use it in my production deployment. is it advisable to use debug apk in prod environment?

@smokaleksander
Copy link

Would love to see some guide here. I am stuck as well :/

@KishanDasani
Copy link
Author

Would love to see some guide here. I am stuck as well :/

you can open the experimental folder in Android Studio, let indexing and gradle sync be done and then simply build apk. you can build debug apk or can use existing creds, if you are using for other projects, to generate release apk as well.

if you are using stf, you can replace this apk inside node_modules (refer to image 1 here). and just re-enroll your device, changes will take place.

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