Page 1 of 1

Unable to test install after Sonoma + LC10DP7 update

Posted: Sat Jan 20, 2024 1:22 pm
by trevix
I recently updated my Mac to Sonoma and installed LC10DP7.
Now I cannot test install on Android 11 devices because i get the following error:
Screenshot 2024-01-20 alle 13.09.06.png
This stuff is way too complex for me. I hope someone can give me a hint...Thanks
These are my Standalone settings:
Screenshot 2024-01-20 alle 13.10.19.png
And this is my Android manifest (the same I was using with LC10dp6 on Mac Monterey):
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="${IDENTIFIER}"
android:versionCode="${VERSION_CODE}"
android:versionName="${VERSION_NAME}"
${INSTALL_LOCATION}>
${PUSH_PERMISSIONS}
${USES_PERMISSION}${USES_FEATURE}
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.bluetooth_le" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.camera" android:required ="False"/>
<uses-feature android:name="android.hardware.faketouch" android:required="false" />
<uses-sdk android:minSdkVersion="${MIN_SDK_VERSION}" android:targetSdkVersion="${TARGET_SDK_VERSION}"/>
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true" />
${QUERY_LIST}
<application android:label="${LABEL}" ${ICON} android:debuggable="false" ${ALLOW_HTTP_CONNECTIONS}>
<activity android:name="${NAME}"
android:theme="${THEME}"
android:screenOrientation="${ORIENTATION}"
android:configChanges="${CONFIG_CHANGES}"
android:windowSoftInputMode="stateHidden"
android:launchMode="singleTask"
android:hardwareAccelerated="${HARDWARE_ACCELERATED}"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
${NFC_FILTER}
${CUSTOM_URL_FILTER}
</activity>
${BILLING_ACTIVITY}
${PROVIDER}
${SERVICE}
${RECEIVER}
${PUSH_SERVICE}
${AD_ACTIVITY}
</application>
</manifest>

Re: Unable to test install after Sonoma + LC10DP7 update

Posted: Sun Jan 21, 2024 7:35 pm
by trevix
Update:
After some check on the android SDK tool manager, testing using USB to a hardware Android 11 phone I now got this error:
Unable to build app for testing: could not link resources - error:
/ private/var/folders/jb/9zq6s6s11j90p38pk8gwxnfh0000gn/T/Temporaryltems/tmp.36619.NBcdDa7v/AndroidManifest.ml:27:
error: resource mipmap/ic_launcher (aka com.trevix.it.segnapunto:mipmap/ic_launcher) not found.
error: failed processing manifest.
As before, this error is not very clear.
If "ml:27" refers to a line number on the manifest, the lines is:
android:launchMode="singleTask"
What the hell does it mean?

Re: Unable to test install after Sonoma + LC10DP7 update:SOLVED

Posted: Mon Jan 22, 2024 9:41 am
by trevix
Amazing how much time is wasted for things that should never happen...

While I waited for some learned response, I tried to re-link the "Icon Res Folder" field of the LC Android standalone settings.
VoilĂ : without (to my knowledge) changing anything, now LC installs the standalone on Android without problems.
Trevix

Re: Unable to test install after Sonoma + LC10DP7 update

Posted: Wed Jan 24, 2024 3:17 pm
by LiveCode_Panos
Hello Trevix,

Did you originally develop this stack (and set the path to the res folder) in the same machine?

I am wondering if the "old" stored path to the res folder (which is stored as a custom property of the stack) was an absolute path that was pointing to a location in your old machine, and by re-setting the res path it now points to a valid path in your new machine.

Kind regards,
Panos
--

Re: Unable to test install after Sonoma + LC10DP7 update

Posted: Wed Jan 24, 2024 4:27 pm
by trevix
Yes: same machine, same account, same everything. I just updated the OSX, Xcode and LC. Then tried to test/install my last (working) standalone on Android.
The path to the icon res folder wasn't touched by me (/Users/trevix/AndroidStudioProjects/Segnapunto2/app/src/main/res). When I established the path then everything started working again.

By the way, in the standalone settings it would be nice if long path could scroll or be selected (as to see it all) or that the button could remember the last position, so to see were it is pointing at.