MirrorLink_Android_CommonAPI_TestApplication | common API test application | REST library
kandi X-RAY | MirrorLink_Android_CommonAPI_TestApplication Summary
kandi X-RAY | MirrorLink_Android_CommonAPI_TestApplication Summary
This repository contains Android Studio project for the CommonAPI Test Application, a MirrorLink-aware test application capable of exercising the entirity of the CommonAPI service on any MirrorLink server. License can be found in LICENSE file that you should have received along source code and this readme file.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MirrorLink_Android_CommonAPI_TestApplication
MirrorLink_Android_CommonAPI_TestApplication Key Features
MirrorLink_Android_CommonAPI_TestApplication Examples and Code Snippets
Community Discussions
Trending Discussions on MirrorLink_Android_CommonAPI_TestApplication
QUESTION
I'm working on MirrorLink-aware Android application and faced issues with Mirrorlink's check of 'application ID' after signing APK with Google developer key.
I have created empty project generated with Mirrorlink plugin for Android studio, which created Gradle task allowing to generate .crt
file with Mirrorlink-related configuration info. I just copied this script to my own build.gradle
file in the main app module. But Mirrorlink-aware application validator show error for signed APK (standard app signing for publishing to Google Play), while find no problems if APK is unsigned.
How to find out the issue arisen after the app was signed?
What I tried: 1) Align Gradle script with example app provided by Mirrorlink - no luck.
2) Inserting v1SigningEnabled false
and v2SigningEnabled false
- no luck.
3) Gradle outputs for signed- and unsigned APKs are the same, except of output file name and > Task :app:validateSigningRelease
task.
AndroidManifest.xml Mirrorlink-related snipped:
...ANSWER
Answered 2019-Aug-24 at 16:02Well, guys, I found the issue :)
I have Crashlytics in the project, and it creates file crashlytics-build.properties
that is slightly changed on every build.
And yeah, this file is counted by Mirrorlink's tool certificategenerator-android-studio.jar
that generates appID with certificate. I have done some reverse-engineering and checked what is happening inside of this tool: it only skips assets/self-signed.ccc.crt
file and META-INF/
content.
So, I had slightly different APKs on EVERY assemble... Disabling Crashlytics plugin solves the issue.
You can either disable Crashlytics plugin (bad idea), or use ext.alwaysUpdateBuildId = false
param to skip creating unique build ID. Read more here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MirrorLink_Android_CommonAPI_TestApplication
You can use MirrorLink_Android_CommonAPI_TestApplication like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the MirrorLink_Android_CommonAPI_TestApplication component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page