You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running yarn run android the build fails with the following error:
> Task :app:compileProdDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
591 actionable tasks: 5 executed, 586 up-to-date
/Users/andrei/Projects/liapp2/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:35: error: package undefined does not exist
import undefined.RNMBXPackage;
^
/Users/andrei/Projects/liapp2/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:149: error: cannot find symbol
new RNMBXPackage(),
^
symbol: class RNMBXPackage
location: class PackageList
2 errors
FAILURE: Build failed with an exception.
andrei-tofan
changed the title
[Bug]: Build android fails because of missing package attribute
[Bug]: Build fails because of missing package attribute
Nov 15, 2023
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
Android
@rnmapbox/maps
version10.1.0-beta.20
Standalone component to reproduce
Observed behavior and steps to reproduce
When running
yarn run android
the build fails with the following error:Expected behavior
No response
Notes / preliminary analysis
Found a similar issue here: TronNatthakorn/react-native-wheel-pick#39, the problem is that the
package
property is missing inAndroidManifest.xml
Additional links and references
No response
The text was updated successfully, but these errors were encountered: