Hi
All buids for Android Engine 9 seem to be failing this week. This is the error given:
A problem occurred configuring project ‘:app’.
compileSdkVersion is not specified. Please add it to build.gradle
Hi
All buids for Android Engine 9 seem to be failing this week. This is the error given:
A problem occurred configuring project ‘:app’.
compileSdkVersion is not specified. Please add it to build.gradle
Looking at our logs we aren’t seeing a lot of errors that contain the compileSdkVersion error - are you able to submit a few jobs that fail and let us know the rough time and account they were submitted under? Thank you!
Hi, sorry for the long delay - I have done another one a short while ago - the account is the Neptune Software one. Doing another one now - so there should be two between 4pm and 4:30pm Eastern time
Can you share the config.xml you are using for these builds?
Hi
I don’t seem to be able to attach, but below is the code:
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.lucid.logistics.lq1"
android-versionCode="21100002"
version="21.10.2">
<author></author>
<name>LQ1_LOC_LOGISTIC</name>
<description>SAP RF LQ1</description>
<content src="index.html" />
<icon src="www/resources/icon.png" />
<splash src="www/resources/splash.png" />
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:allowBackup="false" />
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file src="network_security_config.xml" target= "app/src/main/res/xml/network_security_config.xml" />
<icon density="ldpi" src="merges/android/resources/icon/ldpi.png" />
<icon density="mdpi" src="merges/android/resources/icon/mdpi.png" />
<icon density="hdpi" src="merges/android/resources/icon/hdpi.png" />
<icon density="xhdpi" src="merges/android/resources/icon/xhdpi.png" />
<icon density="xxhdpi" src="merges/android/resources/icon/xxhdpi.png" />
<icon density="xxxhdpi" src="merges/android/resources/icon/xxxhdpi.png" />
</platform>
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="fullscreen" value="false" />
<preference name="AndroidXEnabled" value="true" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="LoadUrlTimeoutValue" value="70000" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="FadeSplashScreen" value="false" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="DisallowOverscroll" value="true" />
<preference name="SuppressesLongPressGesture" value="true" />
<preference name="permissions" value="none" />
<preference name="NativeXHRLogging" value="none" />
<preference name="AllowUntrustedCerts" value="true" />
<preference name="InterceptRemoteRequests" value="all" />
<preference name="allowFileAccessFromFileURLs" value="true" />
<preference name="allowUniversalAccessFromFileURLs" value="true" /> <plugin name="motorola-datawedge-cordova-plugin" source="npm"/>
<platform name="android">
<preference name="AndroidLaunchMode" value="singleTop" />
</platform>
<plugin name="cordova-plugin-androidx" source="npm" />
<plugin name="cordova-plugin-androidx-adapter" source="npm" />
<plugin name="cordova-plugin-camera" source="npm" />
<plugin name="cordova-plugin-cookiemaster" source="npm" />
<plugin name="cordova-plugin-device" source="npm" />
<plugin name="cordova-plugin-dialogs" source="npm" />
<plugin name="cordova-plugin-file" source="npm" />
<plugin name="cordova-plugin-file-opener2" source="npm" />
<plugin name="cordova-plugin-geolocation" source="npm" />
<plugin name="cordova-plugin-inappbrowser" source="npm" />
<plugin name="cordova-plugin-media" source="npm" />
<plugin name="cordova-plugin-media-capture" source="npm" />
<plugin name="cordova-plugin-network-information" source="npm" />
<plugin name="cordova-plugin-secure-key-store" source="npm" />
<plugin name="cordova-plugin-splashscreen" source="npm" />
<plugin name="cordova-plugin-statusbar" source="npm" />
<plugin name="cordova-plugin-vibration" source="npm" />
<plugin name="cordova-plugin-whitelist" source="npm" />
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<allow-navigation href="*" />
<access origin="*" subdomains="true" />
</widget>
Hi, I was unable to upload the config.xml. So I mailed it to the support email address
Thank you!
Can you try setting the android-compileSdkVersion preference?
Not sure either - we’ll dig into this.
Nothing else was changed?
Thanks George. Nothing else. I set it back to Android Engine 10 again and this time it built. Then, set it back to Android Engine 9 and then it failed again
Duncan - is it possible you are submitting these jobs to our beta agents?
I don’t know - we submit via an API from our Neptune Portal. How can I determine that?
Please submit a job and let me know the rough time and the id/name of the app. I can check our logs and tell you.
OK, just submitted one now. Still in Queueing status so should error out within 5 minutes or so.
ID of app is com.lucid.logistics.lq1test
It looks like Neptune did submit the job to our beta servers. Can you contact them and ask them to route your jobs to our production servers? Thank you!