-
Notifications
You must be signed in to change notification settings - Fork 22
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
attempt to run on genymotion android emulator #5
Comments
We don't currently have a good way for defining what api level we want to compile native code with when building with Some crates like the I had been wondering if we could maybe establish an environment variable convention, since cargo doesn't really provide any general way to pass around global features that need to be honored consistently. It would be painful to have to expose lots of android api level features via crates like Winit and Egui and then ensuring that every crate forwards those recursively from crate to crate. More specifically here though; Perhaps you can try running with something like This said though; Android 7 is very old at this point and I'm not sure what the chances are of being able to run |
android7 support gles3 as i know. the problem is same on android 11 as i said. |
suprisingly! after i switch to the default glow backend, android 7 and 11 emulator both works well! (except ime). |
I tried |
trying to run agdk-eframe demo on emulator, android 7.0.
minSdk = 24
inapp/build.gradle
for android 7.0. The logcat givesSo
__system_property_read_callback
can't be used.__system_property_read_callback
is enabled in GameActivity.cpp inandroid-activity
with flag__ANDROID_API__ > 26
. From doc,__ANDROID_API__
is same as min_sdk_version, I don't know ifcargo ndk
will respect build.gradle. Also I fail to log the value of__ANDROID_API__
. I finally comment out related code. Then I gotThe first error is some
glUtilsParamSize: unknow param 0x000090da
, thenE eglCreateWindowSurface: native_window_api_connect (win=0xe36c0008) failed (0xffffffea) (already connected to another API?)
. I upgrade wgpu to latest 0.16.1, no help. There is a related opened issue gfx-rs/wgpu#2384 .Currently, I can't run this demo on genymotion android 7.0 or 11.0(same error). I can play some unity games on them, so the gles libs on device is ok i think.
The text was updated successfully, but these errors were encountered: