[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 Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-05-10T20:19:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Prashant |
Assignee | Shak Hossain |
Created | 2019-05-03T14:49:25.000+0000 |
Updated | 2019-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.
[~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.
Hi Rakhi, Can you please confirm the scheduled date for CLI release 7.1.0.
[~prashantj], Shared the query with our engineering team. Will be back here after getting any feedback from them.
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.
[~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?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.