Team,
I am a first time app builder and been exploring my way to build a coaching app. I would like to upload a Video tutorial which is 40MB. I do not want to use cloudinary or firebase. Wanted this to be part of the app and users would be OK to download a 50MB app as this is for our close community only.
PS - This app needs to be standalone (working without internet)
I searched for the past few weeks all over the net and could not find a right solution. Seeking your help. Thanks
Prasad
Boban
(Boban Stojmenovic)
May 31, 2020, 11:34am
#2
Kodular apk limit is 32mb however, see below
Steps to build a big app ā APK > 32 MB (Kodular limit) and ā¤ 100 MB (PlayStore limit):
You can use eg APK Editor Studio or AppToMarket (update apktool.jar !) for that.
First download the keystore āandroid.keystoreā from your Kodular account and rename it to: āandroid.ksā
remove some big files (png, jpg, mp3, wav, ā¦) from the assets (AIA < 20 MB, better < 5 MB)
build APK
decompile APK
(re)insert the missing files to the assets
recompile your app
sign APK
Video tutorial (APK Editor Studio):
Thanks a lot for replying. I will study that and explore. If i could keep the file size to less than 30 mb, is there a way out ? I tried uploading the video (11 MB), but when i exported into apk, got error 701ā¦ and still could not find a solution for that error.
You have to go this way to upload a big file (video, ā¦) to the assets:
What does that mean?
And try this (if your file are > 5 MB):
Thanks, i used your other method mentioned earlier and uploaded a 20 MB video file (its .3gp), but when i open the apk, and try playing that video, still getting the Error 701ā¦ any way out pls.
The one which i uploaded in kodular asset was 1.5 mb (.3gp file) which i replaced in the folder using APK Editor studio.
Team, kindly request an update please. i am stuck here and could not move forward
Mateja
(Mateja)
June 2, 2020, 2:00pm
#7
Please, learn to be patient.
2 Likes
GASP_Creations:
Thanks, i used your other method mentioned earlier and uploaded a 20 MB video file (its .3gp), but when i open the apk, and try playing that video, still getting the Error 701ā¦ any way out pls.
If you donāt get along with the procedure from āHow to build a big appā, why donāt you make it easy for yourself and follow my suggestion:
What does that mean?
And try this (if your file are > 5 MB):
This will definitely work if your APK is ā¤ 32 MB and the aia < 24.5MB.
See also here:
To clarify the AIA and APK size / limit:
I did a series of tests to get some clarity on this dubious topic (AIA size):
Whether an APK is built depends not only on the AIA size, but on the file types that are in the assets. For non-compressible files (png, jpg, etc.) in the assets, the max. size of the AIA is about 27.2MB (+ 4.7MB, APK size of an empty project) = 31.9MB (max APK size).
For compressible files (wav, txt, etc.) the size is less than 27.2MB. In my case it was 24.5MB at which the ā¦
Thanks a lot for replying.
I have tried the options suggested in your discussions.
Steps followed
Edited the video file āsample.3gpā to make it a small size (800 KB) and uploaded the same into the assets via Kodular Creator
Generated the aia file
Opened the aia file using WinZip, and replaced the āsample.3gpā (800kb) file with āsample.3gpā (20MB) file
Imported the aia into Kodular again and generated the apk.
apk was generated and when i install the app and test, i am getting the 'Error 701: Unable to load āsample.3gpā
aia file size - 20,540 kb
apk file size - 26,937 kb
I may be missing something here. Please help in clarifying and thanks a ton for your kind responses.
Did you even read the guides? This is not how it works.
remove some big files (png, jpg, mp3, wav, ā¦) from the assets (AIA < 20 MB, better < 5 MB)
build APK
decompile APK
(re)insert the missing files to the assets
recompile your app
sign APK
1 Like
Hi, there were two options suggested by @bodymindpower , I have tried bothā¦one using winzip and the other using apk editor and recompilingā¦still with the app I get the same errorā¦Iāve read the instructions and followedā¦
Both methods should work, but there is obviously still the same bug that I reported already in July 2019 . (Companion works .)
@Kodular please fix it.
There is obviously a bug with the Video_Player component. The video player does not find / get the (right) path to the assets. In addition, READ_EXTERNAL_STORAGE permission is falsely requested even though the video file is played from the assets. Companion works. The other AI versions do not have this error.
To reproduce the error, here is a test aia: videoPlayerTest.aia (633.6 KB)
[grafik]
No, this bug is not fixed, even not on the Beta server.
I reported this bug already on July 2019.
The approach of @drpeterramsis2007 is not really a solution or a trick, as you should always avoid that unnecessary permissions are required (in this case: READ_ / WRITE_EXTERNAL_STOARGE).
Therefore you should wait for a fix or use an extension.
If you still want to go this way, you have to use Taifunās file extension (App Inventor Extensions: File | Pura Vida Apps ), because the File componentā¦
@Kodular are you aware of this bug report?
Taifun
if u search āError 701 app inventorā, thereāre so many people reporting this problem, not just Kodular.
@WatermelonIce Yes, iam aware, whatās your point? Iam trying to seek help for a solutionā¦
GASP_Creations:
whatās your point
just telling you that thereās no solution currenly, because itās a bug i think as @bodymindpower says
The VideoPlayer component in AI2 (play from assets) is working.
1 Like
You will have to wait for a fix.
@bodymindpower i actually tried to Open the aia develiped in kodular using app inventor to see if i can load the video there, but it wouldnnt importā¦the otherway around works.
Max aia size is 10 MB in AI2.
So only āHow to build a big appā will work.