How to create app bundle?

125 views
Skip to first unread message

Team Fusion

unread,
Jul 10, 2022, 10:54:52 AM7/10/22
to Kivy users support
I created apk with buildozer but google is asking for app bundle

Robert

unread,
Jul 10, 2022, 1:08:48 PM7/10/22
to Kivy users support

Team Fusion

unread,
Jul 11, 2022, 4:40:11 PM7/11/22
to Kivy users support
Thanks, any idea how to change aab version. I am getting this error at the time of production release Version code 10211 has already been used. Try another version code.

Team Fusion

unread,
Jul 11, 2022, 4:48:50 PM7/11/22
to Kivy users support
may be changing this option will work # (str) Application versioning (method 1)
 version = 0.1, right?

Robert

unread,
Jul 11, 2022, 6:48:35 PM7/11/22
to Kivy users support
Sorry I don't know anything about (what I assume is) error messages from the Google Store.

Team Fusion

unread,
Jul 12, 2022, 4:25:51 PM7/12/22
to Kivy users support
Alright! I am facing one big problem after sigining in stt is not working

Robert

unread,
Jul 12, 2022, 4:45:03 PM7/12/22
to Kivy users support
Sorry I don't know what stt is in this context. And if it is about the Store, I know nothing.

Team Fusion

unread,
Jul 13, 2022, 7:38:32 AM7/13/22
to Kivy users support
I was talking about speech to text but after testing it with 3rd party apps. I find out problem is not with stt but with microphone. after signing the aab (with the link you send). Microphone is not working or in other words even after enabling microphone, microphone is still disabled

Robert

unread,
Jul 13, 2022, 12:55:34 PM7/13/22
to Kivy users support
The apk and aab used the same api version? Sometimes users change this for the aab.

Both manifest and run time RECORD_AUDIO permission is granted? Check this in the app settings on the device to see if Android thinks this.

Please try to be clearer, "enabling microphone" doesn't tell me much.

Team Fusion

unread,
Jul 13, 2022, 4:55:42 PM7/13/22
to Kivy users support
yes, pls confirm. It's just that microphone is not working in devices with android version 9+
buildozer.spec

Robert

unread,
Jul 13, 2022, 8:07:37 PM7/13/22
to Kivy users support
Is run time RECORD_AUDIO permission requested and granted? Check this in the app settings on the device to see if Android thinks this.

Team Fusion

unread,
Jul 14, 2022, 5:39:46 AM7/14/22
to Kivy users support
the problem is with api version when i am keeping it 27, it is working fine but when I am keeping it 31 or 33. Microphone is not working but the problem is play store wants api more than 30

Team Fusion

unread,
Jul 14, 2022, 8:37:23 AM7/14/22
to Kivy users support
from kivy.utils import platform

if platform == "android":
    from android.permissions import request_permissions,Permission
   
    def call(permission,results):
        if all([res for res in results]):
            print("GOT ALL PERMISSIONS")
        else:
            print("did not get all permissions")
    request_permissions([Permission.RECORD_AUDIO])
above code i used to get microphone permission

Robert

unread,
Jul 14, 2022, 12:38:59 PM7/14/22
to Kivy users support
How did does the app implement stt?

If it uses Plyer, see para 2 here https://github.com/Android-for-Python/Android-for-Python-Users#plyer

Team Fusion

unread,
Jul 14, 2022, 12:47:03 PM7/14/22
to Kivy users support
yes it uses plyer that's very bad my 8 months work gone in drain

Robert

unread,
Jul 14, 2022, 1:10:21 PM7/14/22
to Kivy users support
Plyer has bit rot, the README is simply misleading.

But I expect it is possible to recover, by using the debugger to see what is failing, making a local copy of the Plyer code, reading the Java docs, and fixing the local copy.



The first thing to do is get an error message using the debugger.
This is likely a Java issue, so probably the the logcat Python filter will hide it.

Team Fusion

unread,
Jul 14, 2022, 4:17:37 PM7/14/22
to Kivy users support

Robert

unread,
Jul 14, 2022, 5:55:45 PM7/14/22
to Kivy users support
Interesting find. 

p4a generates the Manifest from a template


A quick look at that suggests researching   args.extra_manifest_xml
I know nothing about this, I have questions.... does it really add xml code? is it available via Buildozer?

Sorry I cant be of more help.

Team Fusion

unread,
Jul 15, 2022, 1:38:39 PM7/15/22
to Kivy users support
yes it does add xml and available via buildozer. 

Team Fusion

unread,
Jul 15, 2022, 2:15:59 PM7/15/22
to Kivy users support
Open quote is expected for attribute "android:name" associated with an element type "action"
this is the error i am getting after adding 
<queries> <intent> <action android:name="android.speech.RecognitionService" /> </intent> </queries> in buildozer

Robert

unread,
Jul 15, 2022, 5:39:19 PM7/15/22
to Kivy users support
Sorry I know nothing about this.
Reply all
Reply to author
Forward
0 new messages