Android Question run time error

Makumbi

Well-Known Member
Licensed User
Please help how can i solve this
B4X:
  Error
adb: failed to install SimpleChat_RAPID_DEBUG.apk: Failure [-26: Package b4a.example new target SDK 14 doesn't support runtime permissions but the old target SDK 26 does.]
 

DonManfred

Expert
Licensed User
Longtime User
You are updating and app with the same packagename as you are using now. But the old app had targetsdk set to 26 and the new one has targetsdk set to a lower version.

Use different packagenames for each App you are using. b4a.example is the standard packagename of each app.

Rule 1 on B4A Development: You need to change the packagename to be a unique packagename.

Deinstall the old b4a.example App and install it again.
 
Upvote 0

Makumbi

Well-Known Member
Licensed User
Please help i was trying your example on chatmessaging but i got this
Generating R file. Error
ERROR: resource directory '..\res.chatmessageview' does not exist

i aready download this folder but i dont know where to put it so that it is detected by the app please help
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
This is another issue than the one you created this thread about.
Please create a new thread for any new question.

ERROR: resource directory '..\res.chatmessageview' does not exist
you did not added the res-folder from the resp. ZIP to your project.
 
Upvote 0

Makumbi

Well-Known Member
Licensed User
This is another issue than the one you created this thread about.
Please create a new thread for any new question.


you did not added the res-folder from the resp. ZIP to your project.
Do you mean copying the entire res.chatmessageview folder to the project
 
Upvote 0

Makumbi

Well-Known Member
Licensed User
I have pasted it but now iam getting this error
.\res.chatmessageview\layout\chat_view.xml:38: error: Error: No resource found that matches the given name (at 'style' with value '@style/Base.Widget.AppCompat.Button.Borderless').
..\res.chatmessageview\drawable\message_text_shape_left.xml:7: error: Error: No resource found that matches the given name (at 'color' with value '@Color/button_material_light').
 
Upvote 0
Top