Closed alshari86 closed 7 years ago
Can you please copy paste the step's log here?
1mCollect dependencies to ensure[0m Analyze build.gradle file: /bitrise/src/banking/mobile/build.gradle [33;1mFailed to parse build gradle file: /bitrise/src/banking/mobile/build.gradle, error: failed to determine compileSDKVersion, error: failed to find compileSdkVersion[0m [33;1mSwitched to extended analyzer...[0m [31;1mFailed to analyze build.gradle at: /bitrise/src/banking/mobile/build.gradle, error: failed to parse compileSDKVersion ()[0m Analyze build.gradle file: /bitrise/src/banking/misnapworkflow/build.gradle [33;1mFailed to parse build gradle file: /bitrise/src/banking/misnapworkflow/build.gradle, error: failed to determine compileSDKVersion, error: failed to find compileSdkVersion[0m [33;1mSwitched to extended analyzer...[0m [31;1mFailed to analyze build.gradle at: /bitrise/src/banking/misnapworkflow/build.gradle, error: failed to parse compileSDKVersion ()[0m
Thanks for sharing @alshari86 !
The related step log:
+------------------------------------------------------------------------------+
| (3) install-missing-android-tools@1.0.2 |
+------------------------------------------------------------------------------+
| id: install-missing-android-tools |
| version: 1.0.2 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2017-05-12T18:16:41Z |
+------------------------------------------------------------------------------+
| |
[34mINFO[0m[18:16:41] Start installing (golang) with apt-get
[34mINFO[0m[18:16:41] * [32;1m[OK][0m Step dependency (go) installed, available.
[34;1mConfigs:[0m
- RootBuildGradleFile: banking/build.gradle
- GradlewPath: banking/gradlew
- UpdateSupportLibraryAndPlayServices: true
- AndroidHome: /opt/android-sdk-linux
[34;1mSearch for root settings.gradle file[0m
root build.gradle file: /bitrise/src/banking/build.gradle
root settings.gradle file:: /bitrise/src/banking/settings.gradle
[34;1mCollect build.gradle files to analyze[0m
active modules to analyze: [mobile misnapworkflow]
build.gradle files to analyze: [/bitrise/src/banking/mobile/build.gradle /bitrise/src/banking/misnapworkflow/build.gradle]
[34;1mCollect dependencies to ensure[0m
Analyze build.gradle file: /bitrise/src/banking/mobile/build.gradle
[33;1mFailed to parse build gradle file: /bitrise/src/banking/mobile/build.gradle, error: failed to determine compileSDKVersion, error: failed to find compileSdkVersion[0m
[33;1mSwitched to extended analyzer...[0m
[31;1mFailed to analyze build.gradle at: /bitrise/src/banking/mobile/build.gradle, error: failed to parse compileSDKVersion ()[0m
Analyze build.gradle file: /bitrise/src/banking/misnapworkflow/build.gradle
[33;1mFailed to parse build gradle file: /bitrise/src/banking/misnapworkflow/build.gradle, error: failed to determine compileSDKVersion, error: failed to find compileSdkVersion[0m
[33;1mSwitched to extended analyzer...[0m
[31;1mFailed to analyze build.gradle at: /bitrise/src/banking/misnapworkflow/build.gradle, error: failed to parse compileSDKVersion ()[0m
[34;1mEnsure dependencies[0m
| |
+---+---------------------------------------------------------------+----------+
| [32;1m✓[0m | [32;1minstall-missing-android-tools@1.0.2[0m | 3.48 sec |
+---+---------------------------------------------------------------+----------+
Thanks for your looking into this, I also contacted bitrise online chat and the error is a warning and will not stop building. In my build failure, there is another thing besides this is to remove "change work dir" in my work flow, but that step is in workflow by default when I created this app. So also need bitrise to look into
Hi @alshari86 , sorry for my late response and thanks for the issue report!
Could you please share your:
build.gradle files contents?
It would help us to debug, why the analyzer failed.
It mentioned the issue fixed in https://github.com/bitrise-steplib/steps-install-missing-android-tools/issues/5 But I still got this problem when do Android build.