-
Notifications
You must be signed in to change notification settings - Fork 82
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
Android Studio for Windows: Building drishti error #718
Comments
It's not a error, if cache file not found then usually it means that we need to build package from sources.
Minimal SDK version is set to 24 currently:
Don't remember why, need to check. We do use Camera2 API hence minimal is at least 21 (Android 5.0), probably 24 is the version where Android ARM64 emulator is available. I don't see what is the error exactly but I do remember that ARMv7 was not working with Android Studio on |
thx, minSdkVersion 24 is too high for my mobile. |
We started with the C++ camera interface, which required API 24, but it didn't work with SurfaceTextures. Maybe that was it? Maybe arm64 + API 21 will work? https://developer.android.com/ndk/guides/stable_apis#a24 We can add the requirements to the README. |
You can build the cross platform native libs with that release, and it should build fine, but there is no Android Studio demo application in that release. I will try the API 21 + arm64 build for the Android Studio app. |
We just need NEON, fixed by #719 |
https://developer.android.com/about/dashboards/
It is probably worth considering alternatives 43.1% more coverage (if we target API 21). |
@ygyin-ivy : Can you run API 21? |
i can't test architecture arm64-v8a |
This was fixed by @ruslo in #719. You can enable the armv7 targets here:
From @ruslo's comment above, you can probably reduce the sdk target to 21 if you find a workaround for the camera permission code block he highlighted above. |
i know where to enable armeabi-v7a. after a whole day building, it's still stuck with gradle building. |
I will try a Windows build this weekend. Can you post the CMake build logs?
|
Can you try to minimize the work with Gradle tool? Check this part: |
The time of generating log is wrong, |
when i build armeabi-v7a with minSdkVersion 19, there is a Building drishti error.
some cache file not found
https://raw.githubusercontent.com/elucideye/hunter-cache/master/1dac53e/drishti/684ad3fc824c77a5eb02c7a8f5ae6a5db011b678/684ad3f/c41b297/4830b34/da39a3e/basic-deps.DONE
arm64-v8a with minSdkVersion 24 passed.
hunter log
log.txt
cmake log
log.txt
The text was updated successfully, but these errors were encountered: