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 do I build apk for sdkVersion 22 and below #70

Open
lewisccx opened this issue Feb 20, 2020 · 7 comments
Open

How do I build apk for sdkVersion 22 and below #70

lewisccx opened this issue Feb 20, 2020 · 7 comments

Comments

@lewisccx
Copy link

No description provided.

@lewisccx
Copy link
Author

it seem like you the sdk only supports sdk 26 and above

@morfeusys
Copy link
Collaborator

@lewisccx the min sdk of core lib is 21

@lewisccx
Copy link
Author

lewisccx commented Feb 20, 2020

But when I run the app in emulator sdk 22, it has the following error :

MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)  

error

@morfeusys

@morfeusys
Copy link
Collaborator

@lewisccx seems like you are trying to use Google cloud Speechkit?

@lewisccx
Copy link
Author

Yes @morfeusys

@morfeusys
Copy link
Collaborator

Google cloud library may require android level 26

@lewisccx
Copy link
Author

Exactly which components required level 26, can I modify it to level 22, where do I start

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