firebase / firebase/firebase-android-sdk

Crashlytics Gradle Plugin: support Gradle isolated projects with enabled option nativeSymbolUploadEnabled

Closed
#8,037 1 comment 0 reactions 0 assignees View on GitHub
api: crashlytics
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

### [READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in **the code in this repository**. If you have a general
question, need help debugging, or fall into some other category use one of these other channels:

- For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/)
with the firebase tag.
- For general Firebase discussion, use the
[firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group.
- For help troubleshooting your application that does not fall under one of the above categories,
reach out to the personalized [Firebase support channel](https://firebase.google.com/support/).

### [REQUIRED] Step 2: Describe your environment

- Android Studio version: not related to the bug
- Firebase Component: Crashlytics Gradle plugin
- Component version: 3.0.7

### [REQUIRED] Step 3: Describe the problem

#### Steps to reproduce:

This issue is related to issue #6748. Unfortunately, the previous ticket did not fix the errors when using the option nativeSymbolUploadEnabled=true

#### Relevant Code:

```
org.gradle.api.InvalidUserCodeException: Project ':app' cannot dynamically look up a property in the parent project ':'

...
at org.gradle.api.internal.project.DefaultProject.hasProperty(DefaultProject.java:1176)

at com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask$Companion.register$lambda$0(GenerateSymbolFileTask.kt:177)
at com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask$Companion$inlined$sam$i$org_gradle_api_Action$0.execute(TaskContainerExtensions.kt)
```
and
```
org.gradle.api.InvalidUserCodeException: Project ':app' cannot dynamically look up a property in the parent project ':'
...
at org.gradle.api.internal.project.DefaultProject.hasProperty(DefaultProject.java:1176)

at com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask.validateSymbolGeneratorType(GenerateSymbolFileTask.kt:138)
at com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask.access$validateSymbolGeneratorType(GenerateSymbolFileTask.kt:53)
at com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask$Companion.register$lambda$0(GenerateSymbolFileTask.kt:191)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.