Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28016] Android: Build fails with ACA 2.0.1 and SDK 9.0.0-9.0.2

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2020-08-25T01:33:03.000+0000
Affected Version/sRelease 9.0.1, Release 9.0.2
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterLokesh Choudhary
AssigneeGary Mathews
Created2020-07-14T00:56:16.000+0000
Updated2020-08-25T01:33:03.000+0000

Description

Steps to reproduce:

1. Create & build an app with ACA 2.0.1 module and SDK 9.0.0.GA, 9.0.1.GA, or 9.0.2.GA on android device/emulator.

Actual results:

1. The build fails in gradle with:
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] FAILURE: Build failed with an exception.
[ERROR] :  [GRADLE] 
[ERROR] :  [GRADLE] * What went wrong:
[ERROR] :  [GRADLE] Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
[ERROR] :  [GRADLE] > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
[ERROR] :  [GRADLE]    > Could not find org.appcelerator:titanium:9.0.3.
[ERROR] :  [GRADLE]      Required by:
[ERROR] :  [GRADLE]          project :app
[ERROR] :  [GRADLE]          project :app > ti:cloudpush:7.1.0
[ERROR] :  [GRADLE]    > Could not find org.appcelerator:titanium:9.0.3.
[ERROR] :  [GRADLE]      Required by:
[ERROR] :  [GRADLE]          project :app > hyperloop:hyperloop:5.0.3
[ERROR] :  [GRADLE]          project :app > ti:playservices:17.1.1
[ERROR] :  [GRADLE]    > Could not find org.appcelerator:titanium:9.0.3.
[ERROR] :  [GRADLE]      Required by:
[ERROR] :  [GRADLE]          project :app > com.appcelerator:aca:2.0.1
[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 1s
[ERROR] :  "gradlew" tool returned exit code: 1
[ERROR] Application Installer abnormal process termination. Process exit value was 1

Actual results:

1. The build should be successful. *Work-Around 1:* Build with Titanium 9.0.3.GA or higher. *Work-Around 2:* Use ACA module v2.0.0 instead by setting the following in "tiapp.xml"...
<ti:app>
	<modules>
		<module platform="android" version="2.0.0">com.appcelerator.aca</module>
	</modules>
</ti:app>

Comments

  1. Gary Mathews 2020-08-24

    master: https://github.com/appcelerator-modules/appcelerator.aca/pull/34

JSON Source