Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5447] Failed to build android native module with TI SDK 7.0.0.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2017-12-14T00:04:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, titanium
ReporterRio Diep
AssigneeGary Mathews
Created2017-12-12T04:57:40.000+0000
Updated2017-12-14T00:04:34.000+0000

Description

Hi I've tried to build my existing android module with new ti sdk and it failed. I attempted to build using 2 options below: {noformat} appc run -p android --build-only {noformat} {noformat} ant {noformat} Both failed with different errors. Attached are the error log for each command. My android manifest:
version: 3.0.0
apiversion: 4
architectures: arm64-v8a armeabi-v7a x86
description: sqlencrypt
author: Rio
license: Specify your license
copyright: Copyright (c) 2014 by 

these should not be edited

name: sqlencrypt moduleid: com.test.sqlencrypt guid: xx platform: android minsdk: 7.0.0

Attachments

FileDateSize
ant.txt2017-12-12T04:51:06.000+000092246
appc.txt2017-12-12T04:51:06.000+000026711

Comments

  1. Sharif AbuDarda 2017-12-12

    Is this for build any module in SDK 7.o.oGA or your specific one? Can you try building a new module? Thanks.
  2. Rio Diep 2017-12-12

    It successfully compiled a new test module. But not for my existing project using sqlcipher.
  3. Sharif AbuDarda 2017-12-13

    Hello, Was the module building successfully with the previous SDK's?
  4. Gary Mathews 2017-12-13

    [~rdiep] Delete the <project>/android/libs folder and attempt to recompile using appc run -p android --build-only
  5. Rio Diep 2017-12-14

    Thanks Gary, It worked. I also had to remove the space between my main folder name so the ndk-build can run.

JSON Source