Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6240] Android: Setting "appc-sourcecode-encryption-policy" to "remote" crashes on startup with titanium sdk 7.5.2.GA and 8.0.0.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2019-05-10T20:19:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPrashant
AssigneeShak Hossain
Created2019-05-03T14:49:25.000+0000
Updated2019-06-26T18:04:50.000+0000

Description

App fails to run with following error : [INFO] : MultiDex: VM has multidex support, MultiDex support library is disabled. [DEBUG] : APSAnalytics: APSAnalytics initialization started... [ERROR] : Security: (AsyncTask #1) [77,77] Error performing security checks: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpGet; [ERROR] : Security: (main) [0,77] Security exception encountered. Waiting for root activity to show error. [DEBUG] : AndroidRuntime: Shutting down VM This is working on titanium SDK 7.4.2.GA but as we changed the SDK to 7.5.2.GA it's not working.

Comments

  1. Rakhi Mitro 2019-05-04

    [~prashantj], Thanks for reporting this. We are already working on this. The engineering has confirmed that issue is scheduled for CLI Release 7.1.0.
  2. Prashant 2019-05-08

    Hi Rakhi, Can you please confirm the scheduled date for CLI release 7.1.0.
  3. Rakhi Mitro 2019-05-08

    [~prashantj], Shared the query with our engineering team. Will be back here after getting any feedback from them.
  4. Joshua Quick 2019-05-10

    This is a known issue. Please see: [CLI-1343] The plan is to solve this via our CLI (ie: our "appc" command line tool) in the near future. Unfortunately, we don't have an ETA yet. So, the only work-around is to build with Titanium 7.4.x for the moment. I'm going to close this ticket as a duplicate. I recommend that you follow the above ticket I mentioned. That way you'll be notified when the issue has been resolved. I apologize for the inconvenience.
  5. Prashant 2019-05-16

  6. Joshua Quick 2019-05-16

    [~prashantj], I'm not sure I understand what your issue is with Google Cloud Speech. It doesn't sound related to this ticket's issue... other than you want to upgrade to the newest Titanium version. (The other ticket you are referencing would cause a build failure, not a runtime error.) Are you able to use the Google Cloud Speech API when you remove the "appc-sourcecode-encryption-policy" property from your "tiapp.xml" file?
  7. Prashant 2019-05-17

    
Google Cloud APIs are working fine on SDK v7.5.2.GA (when we remove the "appc-sourcecode-encryption-policy" property from our "tiapp.xml" file), But we can’t go ahead without "appc-sourcecode-encryption-policy" property. The app is failed to run/ build on SDK v7.4.2 after adding dependency JARs needed for google cloud speech recognition. So we are blocked now. We can have a call if you need more details regarding this.

JSON Source