In addition to enabling Sandbox (a special purpose limited container) you also need to enable Windows Hypervisor Platform and also Virtual Machine platform:

When I try to install an unsigned release app
adb install android-build-release-unsigned.apk
I get
Performing Streamed Install
adb: failed to install android-build-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl827870317.tmp/base.apk: Attempt to get length of null array]
I removed android:theme
from AndroidManifest.xml:
<activity android:name="net.geographx.MainActivity"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:exported="true">
<!-- Splash screen -->
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
<!-- Splash screen -->
const read = require('read').read;
const send = require('./send');
async function asyncMain()
{
const amount = await read({
prompt: "Amount: "
});
const password = await read({
prompt: "Password: ",
silent: true,
replace: "*" //optional, will print out an asterisk for every typed character
});
// console.log("Amount: " + amount);
// console.log("Your password: " + password);
sudo apt install imagemagick
identify -verbose my-image.jpg
Found an implementation here and added two pixels:
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Menu {
width: {
var result = 0;
var padding = 0;
for (var i = 0; i < count; ++i) {
var item = itemAt(i);
result = Math.max(item.contentItem.implicitWidth, result);
padding = Math.max(item.padding, padding);
}
// It looks like two pixels are missing to remove the ellipsis.
// My first idea was that it is leftInset + rightInset, but it does not work.
var missing = 2;
return result + padding * 2 + missing;
}
}
I was able to convert MP4 to GIF with ffmpeg with the following commands on Ubuntu 22.04:
ffmpeg \
-i iphone884.mp4 \
-r 15 \
-vf "scale=512:-1,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \
-ss 00:00:03 -to 00:00:06 \
iphone884.gif
ffmpeg \
-i iphone884.mp4 \
-r 15 \
-vf "scale=300:-1,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \
iphone884.gif
If no user-defined move assignment operators are provided for a class type, and all of the following is true:
- there are no user-declared copy constructors;
- there are no user-declared move constructors;
- there are no user-declared copy assignment operators;
- there is no user-declared destructor,
(more…)