-
Notifications
You must be signed in to change notification settings - Fork 105
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 ndk api_level=9 #2
Comments
Sorry I didn't notice your post and found it just now. I tried to build with "api_level=9" & android-ndk-r10e,
Did you modify tensorflow source to pass building with api_level9? |
The past few days, I have done something. Because I want the libandroid_tensorflow_lib.a, so the android_demo is not importance for me. I just comment out these: then with android-ndk-r10e and api_level=9, the build is success. After got the libandroid_tensorflow_lib.a, now I develop app under Windows with Android.mk and the libs. Under Windows, Android-ndk-r10e is also needed, otherwise, it can't find session factory for DIRECT_SESSION. “Not found: Could not find session factory for DIRECT_SESSION” |
@tiny-app I'll try. |
Hi, |
android_sdk_repository(
name = "androidsdk",
api_level = 23,
build_tools_version = "23.0.1",
path = "/home/gzzhang/android-sdk",
)
android_ndk_repository(
name="androidndk",
path="/opt/android-ndk",
api_level=9, << ====================
)
can you build the "tensorflow android libs" with android ndk api_level=9.
if you build them with android ndk api_level=21, the libs can't be used below android 5.0
because some functions can't been found.
SO, can you down the android ndk api_level to 9.
I have do something, but when invoke:
tensorflow::NewSession(options)
and, it print message:
Not found: Could not find session factory for DIRECT_SESSION
The text was updated successfully, but these errors were encountered: