Comments (11)
Well, I made an option to enter custom install-create command in the Super Secret Settings (Which you can access by tapping SAI logo on about screen 3+ times and then long-tapping it). Here's a debug build (inside a ZIP because GitHub doesn't allow attaching APKs directly), you can try entering pm install-create -r -s
there
app-fdroid-debug.zip
from sai.
Does setting install location to prefer external not work? If so, I don't think forcing it would be a good idea since there must be a reason Android doesn't want to install app to external storage.
from sai.
Looking at su logs, I see SAI relies on --install-location
parameter, which doesn't exist in the pm
of my Android 5. According to the help of pm, -s
parameter is the one that installs on SD. Therefore, it always install into internal.
pm install-create -r --install-location 2 -i 'com.aefyr.sai'
�MError: java.lang.IllegalArgumentException: Unknown option --install-location
from sai.
Does rootless mode not work on your device? In rootless mode, install location is supported on Android 5
from sai.
Doesn't work...
Your ROM is incompatible with rootless installer. Try selecting another installer in SAI settings.
Other than this error, it also leaves a tmp folder in /data/app
from sai.
Could you please make a test build that uses pm install-create -r -s [...]
instead of pm install-create -r --install-location 2 [...]
?
from sai.
You should also provide -i com.aefyr.sai.fdroid
argument as well because currently rooted/Shizuku installer in SAI relies on the ACTION_PACKAGE_ADDED
broadcast and checks the installer app package there to determine when an app has been installed, so it would hang forever without that argument.
In the build above however there's a bug that I've just found and fixed which would cause it to accept a ACTION_PACKAGE_ADDED
event when installer app is null, so installation without that argument works in that build.
from sai.
This is not related to SAI app...
Weirdly, now I'm only getting this error when using pm install-create -s
(I also tested in command line). It only happens when -s
parameter is used.
Error: java.lang.IllegalStateException: ☃No storage with enough free space; res=-1
Granted, I remember it didn't trigger error some other time I tried the command. Dunno what is causing it...
from sai.
Android really doesn't want you to install that app to external storage I guess
from sai.
Android really doesn't want you to install that app to external storage I guess
Not related to the app. Just pm install-create -s
on command line also errors out. Without -s no error. Something is strange about my "pm"
from sai.
This issue hasn't had any activity for the last 60 days and will be automatically closed in 7 days from now
from sai.
Related Issues (20)
- Is there any way to pass "installer" info? HOT 1
- failed to allocate HOT 3
- INSTALL_FAILED_INVALID_APK HOT 1
- AAB support HOT 3
- INSTALL_FAILED_ABORTED HOT 2
- Any timeline to update to a new SDK version ? HOT 4
- Use setPackageSource() API HOT 1
- Combine OpenAPK with This App HOT 2
- Update HOT 3
- Install problems getting this message HOT 1
- Is there is any way to remove the split apk once installed l. HOT 1
- me: modifies osu!stream HOT 2
- Back up non-split apps to be backed up in .apk HOT 1
- Please make capable of installing meta.sai.json HOT 1
- SAI installer recognised from within Chrome Downloads HOT 2
- How do I select files on external sdcard with "internal file selection"? HOT 2
- [email protected] HOT 2
- Request: option to disable auto selected (orced) splits HOT 1
- Android \... HOT 1
- Bump minSdk for playstore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sai.