-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[0.75.x] Build failing with: "RNGP - Autolinking: Could not find project.android.packageName in react-native config output!" #46134
Comments
|
|
Could you please provide the output of: I'd expect it to output something similar to this:
|
{
"root": "/Users/sachin/office/react-native/demoapp/myapp",
"reactNativePath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native",
"reactNativeVersion": "0.75",
"dependencies": {
"@aws-amplify/react-native": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native",
"name": "@aws-amplify/react-native",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/AmplifyRTNCore.podspec",
"version": "1.1.4",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/android",
"packageImportPath": "import com.amazonaws.amplify.rtncore.AmplifyRTNCorePackage;",
"packageInstance": "new AmplifyRTNCorePackage()",
"buildTypes": [],
"libraryName": "AmplifyRTNCore",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-async-storage/async-storage": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage",
"name": "@react-native-async-storage/async-storage",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec",
"version": "1.24.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/android",
"packageImportPath": "import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;",
"packageInstance": "new AsyncStoragePackage()",
"buildTypes": [],
"libraryName": "rnasyncstorage",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-community/checkbox": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox",
"name": "@react-native-community/checkbox",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec",
"version": "0.5.17",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/android",
"packageImportPath": "import com.reactnativecommunity.checkbox.ReactCheckBoxPackage;",
"packageInstance": "new ReactCheckBoxPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-community/netinfo": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo",
"name": "@react-native-community/netinfo",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/react-native-netinfo.podspec",
"version": "11.3.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/android",
"packageImportPath": "import com.reactnativecommunity.netinfo.NetInfoPackage;",
"packageInstance": "new NetInfoPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-firebase/app": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app",
"name": "@react-native-firebase/app",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/RNFBApp.podspec",
"version": "20.4.0",
"configurations": [],
"scriptPhases": [
{
"name": "[RNFB] Core Configuration",
"path": "./ios_config.sh",
"execution_position": "after_compile",
"input_files": [
"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"
]
}
]
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/android",
"packageImportPath": "import io.invertase.firebase.app.ReactNativeFirebaseAppPackage;",
"packageInstance": "new ReactNativeFirebaseAppPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-firebase/crashlytics": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics",
"name": "@react-native-firebase/crashlytics",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/RNFBCrashlytics.podspec",
"version": "20.4.0",
"configurations": [],
"scriptPhases": [
{
"name": "[RNFB] Crashlytics Configuration",
"path": "./ios_config.sh",
"execution_position": "after_compile",
"input_files": [
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"
]
}
]
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/android",
"packageImportPath": "import io.invertase.firebase.crashlytics.ReactNativeFirebaseCrashlyticsPackage;",
"packageInstance": "new ReactNativeFirebaseCrashlyticsPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"@react-native-firebase/messaging": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging",
"name": "@react-native-firebase/messaging",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec",
"version": "20.4.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/android",
"packageImportPath": "import io.invertase.firebase.messaging.ReactNativeFirebaseMessagingPackage;",
"packageInstance": "new ReactNativeFirebaseMessagingPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"jail-monkey": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey",
"name": "jail-monkey",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/jail-monkey.podspec",
"version": "2.8.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/android",
"packageImportPath": "import com.gantix.JailMonkey.JailMonkeyPackage;",
"packageInstance": "new JailMonkeyPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"lottie-react-native": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native",
"name": "lottie-react-native",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/lottie-react-native.podspec",
"version": "6.7.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/android",
"packageImportPath": "import com.airbnb.android.react.lottie.LottiePackage;",
"packageInstance": "new LottiePackage()",
"buildTypes": [],
"libraryName": "lottiereactnative",
"componentDescriptors": [
"LottieAnimationViewComponentDescriptor"
],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-aes-gcm-crypto": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto",
"name": "react-native-aes-gcm-crypto",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/react-native-aes-gcm-crypto.podspec",
"version": "0.2.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/android",
"packageImportPath": "import com.reactnativeaesgcmcrypto.AesGcmCryptoPackage;",
"packageInstance": "new AesGcmCryptoPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-barcode-creator": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator",
"name": "react-native-barcode-creator",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/react-native-barcode-creator.podspec",
"version": "0.1.7",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/android",
"packageImportPath": "import com.reactnativebarcodecreator.BarcodeCreatorPackage;",
"packageInstance": "new BarcodeCreatorPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-document-picker": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker",
"name": "react-native-document-picker",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/react-native-document-picker.podspec",
"version": "9.3.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/android",
"packageImportPath": "import com.reactnativedocumentpicker.RNDocumentPickerPackage;",
"packageInstance": "new RNDocumentPickerPackage()",
"buildTypes": [],
"libraryName": "rndocumentpicker",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-exit-app": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app",
"name": "react-native-exit-app",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/RNExitApp.podspec",
"version": "2.0.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/android",
"packageImportPath": "import com.github.wumke.RNExitApp.RNExitAppPackage;",
"packageInstance": "new RNExitAppPackage()",
"buildTypes": [],
"libraryName": "RNExitAppSpec",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-fs": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs",
"name": "react-native-fs",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/RNFS.podspec",
"version": "2.20.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/android",
"packageImportPath": "import com.rnfs.RNFSPackage;",
"packageInstance": "new RNFSPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-gesture-handler": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler",
"name": "react-native-gesture-handler",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/RNGestureHandler.podspec",
"version": "2.18.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/android",
"packageImportPath": "import com.swmansion.gesturehandler.RNGestureHandlerPackage;",
"packageInstance": "new RNGestureHandlerPackage()",
"buildTypes": [],
"libraryName": "rngesturehandler_codegen",
"componentDescriptors": [
"RNGestureHandlerButtonComponentDescriptor",
"RNGestureHandlerRootViewComponentDescriptor"
],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-get-random-values": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values",
"name": "react-native-get-random-values",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/react-native-get-random-values.podspec",
"version": "1.11.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/android",
"packageImportPath": "import org.linusu.RNGetRandomValuesPackage;",
"packageInstance": "new RNGetRandomValuesPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-image-picker": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker",
"name": "react-native-image-picker",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/react-native-image-picker.podspec",
"version": "7.1.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/android",
"packageImportPath": "import com.imagepicker.ImagePickerPackage;",
"packageInstance": "new ImagePickerPackage()",
"buildTypes": [],
"libraryName": "RNImagePickerSpec",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-in-app-review": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review",
"name": "react-native-in-app-review",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/react-native-in-app-review.podspec",
"version": "4.3.3",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/android",
"packageImportPath": "import com.ibits.react_native_in_app_review.AppReviewPackage;",
"packageInstance": "new AppReviewPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-inappbrowser-reborn": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn",
"name": "react-native-inappbrowser-reborn",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/RNInAppBrowser.podspec",
"version": "3.7.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/android",
"packageImportPath": "import com.proyecto26.inappbrowser.RNInAppBrowserPackage;",
"packageInstance": "new RNInAppBrowserPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-linear-gradient": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient",
"name": "react-native-linear-gradient",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/BVLinearGradient.podspec",
"version": "2.8.3",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/android",
"packageImportPath": "import com.BV.LinearGradient.LinearGradientPackage;",
"packageInstance": "new LinearGradientPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-otp-verify": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify",
"name": "react-native-otp-verify",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/react-native-otp-verify.podspec",
"version": "1.1.8",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/android",
"packageImportPath": "import com.faizal.OtpVerify.OtpVerifyPackage;",
"packageInstance": "new OtpVerifyPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-permissions": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions",
"name": "react-native-permissions",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/RNPermissions.podspec",
"version": "4.1.5",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/android",
"packageImportPath": "import com.zoontek.rnpermissions.RNPermissionsPackage;",
"packageInstance": "new RNPermissionsPackage()",
"buildTypes": [],
"libraryName": "RNPermissionsSpec",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-reanimated": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated",
"name": "react-native-reanimated",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/RNReanimated.podspec",
"version": "3.15.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/android",
"packageImportPath": "import com.swmansion.reanimated.ReanimatedPackage;",
"packageInstance": "new ReanimatedPackage()",
"buildTypes": [],
"libraryName": "rnreanimated",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-safe-area-context": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context",
"name": "react-native-safe-area-context",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec",
"version": "4.10.9",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/android",
"packageImportPath": "import com.th3rdwave.safeareacontext.SafeAreaContextPackage;",
"packageInstance": "new SafeAreaContextPackage()",
"buildTypes": [],
"libraryName": "safeareacontext",
"componentDescriptors": [
"RNCSafeAreaProviderComponentDescriptor",
"RNCSafeAreaViewComponentDescriptor"
],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/android/src/main/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-screens": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens",
"name": "react-native-screens",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/RNScreens.podspec",
"version": "3.34.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/android",
"packageImportPath": "import com.swmansion.rnscreens.RNScreensPackage;",
"packageInstance": "new RNScreensPackage()",
"buildTypes": [],
"libraryName": "rnscreens",
"componentDescriptors": [
"RNSFullWindowOverlayComponentDescriptor",
"RNSScreenContainerComponentDescriptor",
"RNSScreenNavigationContainerComponentDescriptor",
"RNSScreenStackHeaderConfigComponentDescriptor",
"RNSScreenStackHeaderSubviewComponentDescriptor",
"RNSScreenStackComponentDescriptor",
"RNSSearchBarComponentDescriptor",
"RNSScreenComponentDescriptor",
"RNSModalScreenComponentDescriptor"
],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/android/src/main/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-simple-biometrics": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics",
"name": "react-native-simple-biometrics",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/react-native-simple-biometrics.podspec",
"version": "1.5.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/android",
"packageImportPath": "import com.reactnativesimplebiometrics.SimpleBiometricsPackage;",
"packageInstance": "new SimpleBiometricsPackage()",
"buildTypes": [],
"libraryName": "SimpleBiometrics",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-sqlite-storage": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage",
"name": "react-native-sqlite-storage",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/react-native-sqlite-storage.podspec",
"version": "6.0.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/platforms/android",
"packageImportPath": "import org.pgsqlite.SQLitePluginPackage;",
"packageInstance": "new SQLitePluginPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/platforms/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-vector-icons": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons",
"name": "react-native-vector-icons",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/RNVectorIcons.podspec",
"version": "10.1.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/android",
"packageImportPath": "import com.oblador.vectoricons.VectorIconsPackage;",
"packageInstance": "new VectorIconsPackage()",
"buildTypes": [],
"libraryName": "RNVectorIconsSpec",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-version-check": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check",
"name": "react-native-version-check",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/react-native-version-check.podspec",
"version": "3.4.7",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/android",
"packageImportPath": "import io.xogus.reactnative.versioncheck.RNVersionCheckPackage;",
"packageInstance": "new RNVersionCheckPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-vision-camera": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera",
"name": "react-native-vision-camera",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/VisionCamera.podspec",
"version": "4.5.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/android",
"packageImportPath": "import com.mrousavy.camera.react.CameraPackage;",
"packageInstance": "new CameraPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-vision-camera-face-detector": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector",
"name": "react-native-vision-camera-face-detector",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/VisionCameraFaceDetector.podspec",
"version": "1.7.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/android",
"packageImportPath": "import com.visioncamerafacedetector.VisionCameraFaceDetectorPluginPackage;",
"packageInstance": "new VisionCameraFaceDetectorPluginPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-webview": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview",
"name": "react-native-webview",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/react-native-webview.podspec",
"version": "13.10.5",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/android",
"packageImportPath": "import com.reactnativecommunity.webview.RNCWebViewPackage;",
"packageInstance": "new RNCWebViewPackage()",
"buildTypes": [],
"libraryName": "RNCWebViewSpec",
"componentDescriptors": [
"RNCWebViewComponentDescriptor"
],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"vision-camera-dynamsoft-label-recognizer": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer",
"name": "vision-camera-dynamsoft-label-recognizer",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/VisionCameraDynamsoftLabelRecognizer.podspec",
"version": "2.1.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/android",
"packageImportPath": "import com.visioncameradynamsoftlabelrecognizer.VisionCameraDynamsoftLabelRecognizerPackage;",
"packageInstance": "new VisionCameraDynamsoftLabelRecognizerPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
},
"react-native-worklets-core": {
"root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core",
"name": "react-native-worklets-core",
"platforms": {
"ios": {
"podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/react-native-worklets-core.podspec",
"version": "1.3.3",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/android",
"packageImportPath": "import com.worklets.WorkletsPackage;",
"packageInstance": "new WorkletsPackage()",
"buildTypes": [],
"libraryName": "RNWorkletsSpec",
"componentDescriptors": [],
"cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null,
"isPureCxxDependency": false
}
}
}
},
"healthChecks": [],
"platforms": {
"ios": {},
"android": {}
},
"assets": [],
"project": {
"ios": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/ios",
"xcodeProject": {
"name": "demoapp.xcworkspace",
"path": ".",
"isWorkspace": true
},
"assets": []
},
"android": {
"sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/android",
"appName": "app",
"packageName": "org.demoapp.org",
"applicationId": "org.demoapp.org",
"mainActivity": "org.demoapp.org.MainActivity",
"assets": []
}
}
}
|
Same thing here - i didn't have this issue in 0.75.0-rc4 but on 0.75.1+ i suddenly do. |
Your config looks good. We store a cached copy in the Remove that file and re-run |
It worked here by adding packageName in the React Native config:
|
Try remove /ProjectName/android/build/generated/autolinking/autolinking.json file |
I'm having the same issue, but there is no autolinking.json file. I've tried building in android studio & running Any idea? |
@Nyoob You can manually run that task directly: $ cd android
$ ./gradlew generateAutolinkingPackageList
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 4s
14 actionable tasks: 3 executed, 11 up-to-date
➜ react-native git:(feat/add-logging-gradle-plugin-settings) ✗ ls -l build/generated/autolinking/
total 24
-rw-r--r-- 1 blakef 18950 Aug 23 14:01 autolinking.json
-rw-r--r-- 1 blakef 64 Aug 23 14:01 yarn.lock.sha @cl3i550n are you now unblocked? Can I close the issue? |
This works fine, thanks all guys! Close the issue. |
this not working for me |
Had the same issue. No changes were made in the project, it seems it come from nowhere... |
Actually I see the bug here that's not rerunning |
Manually running the task also fails, even after deleting
0.75.0-rc4 still worked fine for me a few weeks ago, after upgrading to 0.75.2 this issue started occuring. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Having the same issue on android
|
@idrisssakhi I'm having the same exact issue. Unfortunately, I'm stuck. If anyone has some ideas to help fix this it would be appreciated! |
@MosefAsad and everyone else which is blocked by the issue. If you do, please report back whether it works for you or not. It is not landed yet, but as soon as it will, we will try to pick it in 0.75 and we will release a new version of React Native with the fix. |
I've tagged the fix to go into 0.75.3. I'm going to close this, please reopen if you're still having problems after upgrading when it's released early next week. |
Hello, I finally could build android app, in package.json I changed the version of react native to s
|
this worked! thank you! i did these steps:
|
This worked! Thank you! |
Hello, I tried to add a |
This comment has been minimized.
This comment has been minimized.
The fix is shipping in 0.75.3. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm locking this as 0.75.3 will release with the fix If people still have issues when using 0.75.3, then create a new issue. If you open a similar issue for 0.75.2 we will close it. |
Summary: Fixes facebook#46443 Fixes facebook#46134 I'm sanitizing the output of the `config` command + I've added some more logging in case of failure. Changelog: [Android] [Fixed] - RNGP - Sanitize the output of the config command Differential Revision: D62641979
Summary: Pull Request resolved: facebook#46482 Fixes facebook#46443 Fixes facebook#46134 I'm sanitizing the output of the `config` command + I've added some more logging in case of failure. Changelog: [Android] [Fixed] - RNGP - Sanitize the output of the config command Reviewed By: cipolleschi Differential Revision: D62641979
Summary: Pull Request resolved: #46482 Fixes #46443 Fixes #46134 I'm sanitizing the output of the `config` command + I've added some more logging in case of failure. Changelog: [Android] [Fixed] - RNGP - Sanitize the output of the config command Reviewed By: cipolleschi Differential Revision: D62641979 fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
Summary: Pull Request resolved: #46482 Fixes #46443 Fixes #46134 I'm sanitizing the output of the `config` command + I've added some more logging in case of failure. Changelog: [Android] [Fixed] - RNGP - Sanitize the output of the config command Reviewed By: cipolleschi Differential Revision: D62641979 fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
Summary: Pull Request resolved: #46482 Fixes #46443 Fixes #46134 I'm sanitizing the output of the `config` command + I've added some more logging in case of failure. Changelog: [Android] [Fixed] - RNGP - Sanitize the output of the config command Reviewed By: cipolleschi Differential Revision: D62641979 fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
Description
Fresh install CLI and try yarn android only
Steps to reproduce
React Native Version
0.75.2
Affected Platforms
Runtime - Android, Build - Windows
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/cl3i550n
Screenshots and Videos
The text was updated successfully, but these errors were encountered: