hansemannn / titanium-crashlytics

Use the native Crashlytics SDK in Titanium (iOS / Android).
MIT License
18 stars 18 forks source link

[GRADLE] Execution failed for task ':app:mergeDebugResources'. by Crashlytics 2.0.0 #32

Closed Monireb closed 3 years ago

Monireb commented 4 years ago

system info is : Node.js Node.js Version = 12.13.0 npm Version = 6.12.0 Titanium CLI CLI Version = 5.2.2 Titanium SDK SDK Version = 9.0.3.GA SDK Path = C:\ProgramData\Titanium\mobilesdk\win32\9.0.3.GA Target Platform = android

I used crashlytics 2.0.0 but get this error, could you please help to fix that.

ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] FAILURE: Build failed with an exception.
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] * What went wrong:
[ERROR] :  [GRADLE] Execution failed for task ':app:mergeDebugResources'.
[ERROR] :  [GRADLE] > [string/com.crashlytics.android.build_id] C:\Users\Monir\Documents\Appcelerator_Studio_Workspace\newcrashlytics\build\android\app\src\main\res\values\strings.xml [string/com.crashlytics.android.build_id] C:\Users\Monir\Documents\Appcelerator_Studio_Workspace\newcrashlytics\build\android\app\build\generated\crashlytics\res\debug\values\com_crashlytics_build_id.xml: Error: Duplicate resources
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] * Try:
[ERROR] :  [GRADLE] 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.
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] * Get more help at https://help.gradle.org
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] BUILD FAILED in 4s
[ERROR] :  "gradlew" tool returned exit code: 1
hansemannn commented 3 years ago

See 2.0.1, thx!

macasfaj commented 3 years ago

@hansemannn The issue is still there, using 2.0.1 :(