Xtraball / Siberian

Siberian Single App Edition (SAE), free and open-source app builder.
https://www.siberiancms.com
Open Software License 3.0
166 stars 151 forks source link

APK fails: Android SDK is marked for update #468

Closed lampela closed 6 years ago

lampela commented 6 years ago

I have the latest version MAE. Cron is running (marked green), required extensions also marked green in backoffice dashboard.

For some reason APK generation fails. It used to work, last time I used it about a year ago.

In backoffice Settings/Advanced/Cron there is red "Restart" button in System tasks/androidtools row. I push the button and I get in the top: "Android SDK is marked for update".

I tested with several apps, the errors differ. One error is:

The other error is:

According to this thread: https://github.com/Xtraball/SiberianCMS/issues/268 I did this: go inside var/apps/ionic/tools delete the folder android-sdk rm -rf android-sdk then run php -f sdk-updater.php

and cleared all the caches. But no help.

AnthonyLELUYER commented 6 years ago

Hi,

The fix you tried was for the license agreements. Now you should not have this issue. Regarding aapt, you have to install this: –> Debian/Ubuntu: apt-get install lib32stdc++6 lib32z1 lib32z1-dev

–> CentOS/Fedora: yum install libstdc++.i686 yum install zlib.i686

Indiaexcite commented 6 years ago

I have the same issue after updating to MAE - v4.13.20 Will the above solution work for me?

As an alternative, I used to build manually in the android studio. Once I updated the cms to MAE - v4.13.20

Now Android Studio builds also failed. Tried updating Android SDK. Yet appt plugin error persists. Any guidance will be helpful.

Thank you. Regards, Venkat Chinniah