문제

We are using telerik AppBuilder which is built on top of PhoneGap. We are using the same project code with different configurations to create 3 apps. Basically AppBuilder project is the same, then we just change seeome css styles, images and some API connections and build it as 3 separate apps. For Android we have an issue. When we manually install 1 app, other apps cannot be installed. I get "Application not installed error on android". Once it is uninstalled, installation of another app succeeds. I guess ID needs to change somewhere. iOS works fine as I build it using 3 separate provision profiles. I changed app name for each app in manifest file and also create a unique app id in project properties->general. I also tried hard-coding "package" property of manifest tag in manifest file to make sure it is unique. DB name is the same for all apps, I wonder if that makes a difference? I think issue is with signing, it thinks it is the same app.

도움이 되었습니까?

해결책

As I've seen the projects, the problem seems to be using jshybugger in all apps. However it requires that you specify unique authority name for each app i.e. the provider tag inside AndroidManifest.xml should be changed as follows and the app should be reinstalled:

<provider android:name="org.jshybugger.DebugContentProvider"
<!-- choose unique authority name for multiple apps on one device -->
android:authorities="my.package.name.jshybugger" ...

다른 팁

At the very least you need to have three different "Application Identifiers" - one for each app. You access this through the properties of your AppBuilder (Icenium) project.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top