Android Question App stops working android 4.4 AppCompat

rscheel

Well-Known Member
Licensed User
Longtime User
As the title says my application lets not start stops working when you open it, this only happens in android from android 4.4 down, android 5 up works correctly, I can realize that the following line of code causes the problem.

B4X:
#Extends: android.support.v7.app.AppCompatActivity

thanks.
 

rscheel

Well-Known Member
Licensed User
Longtime User
For AppCompat it is important to read the setup instructions for every release. Google sometimes changes important things in the support libraries (like in this case they introduced vector drawables which need special Build Tools version to get them work on Android <5.0) and I try to keep the installation instructions up to date as good as possible.

Unfortunately I can't read all questions in the questions forum anymore so I sometimes miss AppCompat related questions.

Thanks again dear, your work is very good.
 
Upvote 0

Signal

Member
Licensed User
Hello sir, I am kind of facing similar problem and iv'e tried to uninstall build tools 25.xx and install 23.0.3 but after compiling and installing to the device (android 4.4.2/4.2.2) the program crashes with a message "unfortunately AppCompat Basis has stopped". I know there must be something wrong but I really cant figure it out.
 
Upvote 0

corwin42

Expert
Licensed User
Longtime User
Build Tools 25.x.x. is ok. Only Build Tools lower than 23.0.3 is bad.

Connect you device with USB and see the unfiltered logs for the exact error message.
 
Upvote 0

Signal

Member
Licensed User
Hello sir, I tried to connect my device in USB debuging mode but it doesn't connect. but i can run the appcompat example on my samsung that has android 5.1 and 6.0 but I refuses to run on my android 4.4.2 (Itel 1502) and android 4.2.2 (PDA 1530) thank u sir.

Ohhh' Ive solved it. thanks to u all for your support, you guys are so gooooooood. I had to download Android SDK from scratch again and follow proceedure.
 
Last edited:
Upvote 0
Top