I'm not sure what you ran there, but I don't think it was a
correct logcat command. What does `buildozer android logcat` do?
Hi Alex, Thanks for your reply. I have attached my log sheet . I dont find any error except logcat command.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/4f78a1b9-9d03-44bf-b551-b37e804984f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don't think you can do this, try just `buildozer android
logcat`.
Alex, I have used the command buildozer android debug logcat->mylog.cat to debug and create apk file.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/ec8521d0-5323-42ad-8573-f0829f003e89%40googlegroups.com.
Errors are found by careful inspection. In cases like this where the app has successfully started, you can look at only the lines containing 'python' to get everything that is likely to be important. I would generally expect to see a normal Python traceback identifying the issue, but your log cuts off right about where that would happen. Are you sure you left it running long enough to see logs from where the app fails?
You say both that labels don't show text and that the apk closes right after the startup image, but if the app crashed during startup you wouldn't expect to see any labels anyway. I'm not sure what you mean here.
SDL2 supports everything pygame did and far more.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/d4d7502c-fed9-4769-9547-66c67d041dbb%40googlegroups.com.
According to that log, adb didn't find any attached devices. Is your device plugged into the computer, and is adb enabled on it?
You don't need the apk file to be recreated if you have already
made one with the properties you wanted.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/47211d3b-eca5-4465-9dbd-f269ea0344b0%40googlegroups.com.
Follow the instructions at
https://kivy.org/doc/stable/guide/android.html#debugging-your-application-on-the-android-platform,
in particular note that you must enable adb in your developer
options and connect the device to your computer. This will allow
adb logcat to access the logs stream from the device.
yes Alex. I did not connect my device when i run the above command.I already have my complete apk file. but it is not getting opened in the mobile. Just the loading text with kivy logo shown and then it is getting closed.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b67d9dca-4a47-4deb-95e5-e5668b3f6f2f%40googlegroups.com.
"libespeak.so.1" not found". As it is additional library for espeak, i have added it in the buildozer.spec
I haven't followed all the details of what you've been doing, but if you want to use espeak it will need a recipe to build for Android (specifically, to build libespeak.so for Android).
People have done text to speech with Kivy before, I think you can
call the Android mechanisms for it. This is probably easier.
Thanks Robert for your response. Actually i get this libespeak.so.1 file when i installed the espeak library with the command PIP install espeak and also from sudo apt-get install libespeak1. As i am new to Kivy python, I have no idea about the ARM32 library. Actually i have created the apk with kivy complete VM which stripped off the audioop.so file when creating apk file. So i just add this file in the whitelist. Now should i copy and paste the audioop python file or espeak python file in the main.py file path to create a recipe.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/8828de73-99eb-4e91-8b87-b45c0cc29309%40googlegroups.com.
i get this libespeak.so.1 file when i installed the espeak library with the command PIP
I haven't followed all the details of what you've been doing, but if you want to use espeak it will need a recipe to build for Android (specifically, to build libespeak.so for Android).
People have done text to speech with Kivy before, I think you can call the Android mechanisms for it. This is probably easier.
On 20/05/2019 17:42, Saradhadevi Elaiyaraja wrote:
Thanks Robert for your response. Actually i get this libespeak.so.1 file when i installed the espeak library with the command PIP install espeak and also from sudo apt-get install libespeak1. As i am new to Kivy python, I have no idea about the ARM32 library. Actually i have created the apk with kivy complete VM which stripped off the audioop.so file when creating apk file. So i just add this file in the whitelist. Now should i copy and paste the audioop python file or espeak python file in the main.py file path to create a recipe.--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/X-tk3rTQ638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.
Code:
import android
droid = android.Android()
droid.ttsSpeak("Hello")
When i checked the android.py (file came with python for android package ), it has no class or function in the name of "Android". This python file has information about various ndk and sdk installation. Should i install or add any specific package for using android tts.