App builds and runs fine on iOS, however when I try to build for Android I get the following error:
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 app/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:165: error: constructor CountryPickerPackage in class CountryPickerPackage cannot be applied to given types; new CountryPickerPackage(), ^ required: Activity found: no arguments reason: actual and formal argument lists differ in length Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
Steps to Reproduce / Code Snippets
Build the app for android
yarn android,
npx react-native run-android,
etc.
Expected Results
I was expecting the app to be built fine like in iOS
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue Description
App builds and runs fine on iOS, however when I try to build for Android I get the following error:
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 app/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:165: error: constructor CountryPickerPackage in class CountryPickerPackage cannot be applied to given types; new CountryPickerPackage(), ^ required: Activity found: no arguments reason: actual and formal argument lists differ in length Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
Steps to Reproduce / Code Snippets
Build the app for android
yarn android
,npx react-native run-android
, etc.Expected Results
I was expecting the app to be built fine like in iOS
Additional Information