-
Notifications
You must be signed in to change notification settings - Fork 3
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
Instant App: error when duplicate app folder, open in Android Studio and automatically build #3
Comments
experienced same issue, couldn't find any solution for now, i am starting to think it is impossible to integrate instant apps in react native anymore |
Tbh I found out an half solution that works on empty project until u don’t use some libraries like react-native-navigation (not sure about the right name now) but I honestly don’t like it: |
I think this plugin does not support when you call expo prebuild multiple times. Try to call it always as a clean setup. expo prebuild --clean |
I’m not using expo since this guide doesn’t use it, so I don’t think this can help, did u do everything with expo and instant app? |
I am sorry. I made a mistake by not fully reading the issue. I used this https://github.com/bndkt/react-native-app-clip on iOS. |
Yea I know that guide, but it’s only iOS, and here iOS works fine, we have problems with Android instant app :( |
I'm facing the same issue, I manually removed the typical configs Android Studio adds when you "instant enabled" your app. That way I have a bundle with the installed app and if I want to build the instant version I add the configs again. |
I followed all the AppClip guide and it works fine.
Now I'm trying to develop an Instant App as well, let me explain all the steps to reproduce the error:
Build file '/My/Path/To/RNProject/TestAndroidV3/android/appInstant/build.gradle' line: 3
A problem occurred evaluating project ':appInstant'.
If I try it without creating the appInstant folder it works properly on simulator
Idk if it may be useful but with react-native doctors everything is fine.
This is the build --scan: https://scans.gradle.com/s/q37z3zw5dwkko
Any suggestions to how to fix this and let it work?
The text was updated successfully, but these errors were encountered: