I would like to test what I am making but app builder stopped building on Android, is not working an any app, Not even on new ones.
It started happening since the problem to log in on the appBuilder.
Help please.
6 Answers, 1 is accepted
Regarding the problem with your Auto Compartido project:
After examining the logs you've attached and checking the logs on our servers as well I have come to the conclusion that one of your plugins - plugin.google.maps depends on com.google.playservices. Since April last year however, all of cordova's plugins migrated to npm. As a side effect of this all of the plugins changed their names and com.google.playservices is actually named cordova-plugin-googleplayservices.
The above said, I assume you could do one of the following in order to resolve the issue:
- Try upgrading your plugin.google.maps plugin, as it probably has a newer version
- Add cordova-plugin-googleplayservices as a custom plugin, following these steps:
- Add the latest master branch as a custom plugin
- Open the plugin.xml and change the id to cordova-plugin-googleplayservices
Additionally, you might also need to update the android:minSdkVersion in your project's AndroidManifest.xml file to 14 if you haven't done so, as this is now required for your project to successfully build on our side.
As for the problem with your xVideos project it appears you have the android permission ACCESS_MOCK_LOCATION. This permission is intended for debug builds only. If you want to build a release package, containing this permission though you can go through these steps:- In the AppBuilder Windows client right-click your project and select Edit Configuration -> Android Manifest from the context menu. This will generate and open an AndroidManifest.xml file for editing.
- Edit the manifest tag and add xmlns:tools="http://schemas.android.com/tools" as an attribute to it. It should now look like this:
<
manifest
android:versionCode
=
"$AndroidVersionCode$"
android:versionName
=
"$BundleVersion$"
package
=
"$AppIdentifier$"
android:windowSoftInputMode
=
"adjustPan"
android:hardwareAccelerated
=
"$AndroidHardwareAcceleration$"
xmlns:android
=
"http://schemas.android.com/apk/res/android"
xmlns:tools
=
"http://schemas.android.com/tools"
>
- Locate the following line:
<
uses-sdk
android:minSdkVersion
=
"14"
android:targetSdkVersion
=
"21"
/>
<
uses-sdk
android:minSdkVersion
=
"14"
android:targetSdkVersion
=
"21"
/>
<
uses-permission
android:name
=
"android.permission.ACCESS_MOCK_LOCATION"
tools:ignore
=
"MockLocation"
/>
This should enable you to successfully build your applications.
Please, let me know if this helps.Regards,
Dimitar Kerezov
Telerik by Progress
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Hi Dimitar, I am trying to understand this errors.
The examples that you showed a solution are running ok now, but it keep happening to me, I would like to understad what could be the problem and why its so hard to use plugins.
In the new example I am starting a small app, It doesn't do much a this time. Its a Ionic, Firebase App, in witch I would like to test using MAPBox and Wikitude. I would like to make a simple test.
Every thing runs smooth until I install Mapbox and/or Wikitude (both are Teleriks approved plugins).
It just stops compiling. If I remove them the app will work again.
Please Help.
More errors in this Log
To any who may have a similar problema.
After hours of playing with configuration I dicuvered 2 things.
Mapbox:
1. You need to build a key that grants access to everything, new one not the default.
Wikitude:
2. Use the wikitude version 4.1.0 if you are using cordova 4x. Use newer versions if you are using Cordova 5 or you will run into the problems posted.
Thanks finally its working.... to this point.
To any one who may run into this problems.
1. Mapbox: please m,ake a new key with all the permissions or it will fail.
2. Wikitude: just install v4.1.0 if you are using cordova 4x. Newer versions work with cordova v5.
Thanks, ir working to this point.