Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jkyletreman/9bdac92e584918f601f03813be5ea00f to your computer and use it in GitHub Desktop.
Save jkyletreman/9bdac92e584918f601f03813be5ea00f to your computer and use it in GitHub Desktop.
Java class errors
> Configure project :app
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
> Configure project :react-native-google-analytics-bridge
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
> Configure project :react-native-radar
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
> Task :app:processDebugGoogleServices
Parsing json file: /Users/kyletreman/18F/courier_test_app/android/app/google-services.json
> Task :react-native-firebase:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/Users/kyletreman/18F/courier_test_app/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:30: AAPT: error: attribute 'android:name' in <application> tag must be a valid Java class name.
/Users/kyletreman/18F/courier_test_app/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:38: AAPT: error: attribute 'android:name' in <activity> tag must be a valid Java class name.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
74 actionable tasks: 70 executed, 4 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment