Skip to content
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

Error RUN #136

Open
cesiburian opened this issue Dec 26, 2020 · 1 comment
Open

Error RUN #136

cesiburian opened this issue Dec 26, 2020 · 1 comment

Comments

@cesiburian
Copy link

cesiburian commented Dec 26, 2020

Hi, i need help. When i was running the starter app, after add google json and sync files, i got error this:

======
Executing tasks: [:build-android-start:app:assembleDebug] in project C:\Users\USER-HP\AndroidStudioProjects\codelab-friendlychat-android

Configuration on demand is an incubating feature.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Users\USER-HP\AndroidStudioProjects\codelab-friendlychat-android\build-android-start\app\build.gradle' line: 2

* What went wrong:
A problem occurred evaluating project ':build-android-start:app'.
> Plugin with id 'com.google.firebase.crashlytics' not found.

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':build-android-start:app'.
> compileSdkVersion is not specified. Please add it to build.gradle

* 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 311ms
@samtstern
Copy link
Contributor

@cesiburian I am not able to reproduce this error. Here are the steps I took:

  1. Clone this repo
  2. cd build-android-start
  3. Add google-services.json to app/
  4. Run ./gradlew assembleDebug

Here are the logs I got:

$ ./gradlew assembleDebug

> Task :app:compileDebugJavaWithJavac
Note: /Users/samstern/Projects/codelab-friendlychat-android/build-android-start/app/src/main/java/com/google/firebase/codelab/friendlychat/MainActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

BUILD SUCCESSFUL in 30s
27 actionable tasks: 22 executed, 5 up-to-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants