久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='rZSFg'><tr id='rZSFg'><dt id='rZSFg'><q id='rZSFg'><span id='rZSFg'><b id='rZSFg'><form id='rZSFg'><ins id='rZSFg'></ins><ul id='rZSFg'></ul><sub id='rZSFg'></sub></form><legend id='rZSFg'></legend><bdo id='rZSFg'><pre id='rZSFg'><center id='rZSFg'></center></pre></bdo></b><th id='rZSFg'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='rZSFg'><tfoot id='rZSFg'></tfoot><dl id='rZSFg'><fieldset id='rZSFg'></fieldset></dl></div>
    1. <legend id='rZSFg'><style id='rZSFg'><dir id='rZSFg'><q id='rZSFg'></q></dir></style></legend>
        <bdo id='rZSFg'></bdo><ul id='rZSFg'></ul>

      <small id='rZSFg'></small><noframes id='rZSFg'>

      <tfoot id='rZSFg'></tfoot>

        如何為 android 調試 Kivy/Kivymd 應用程序?

        How to debug a Kivy/Kivymd app for android?(如何為 android 調試 Kivy/Kivymd 應用程序?)

        <i id='E9ZOK'><tr id='E9ZOK'><dt id='E9ZOK'><q id='E9ZOK'><span id='E9ZOK'><b id='E9ZOK'><form id='E9ZOK'><ins id='E9ZOK'></ins><ul id='E9ZOK'></ul><sub id='E9ZOK'></sub></form><legend id='E9ZOK'></legend><bdo id='E9ZOK'><pre id='E9ZOK'><center id='E9ZOK'></center></pre></bdo></b><th id='E9ZOK'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='E9ZOK'><tfoot id='E9ZOK'></tfoot><dl id='E9ZOK'><fieldset id='E9ZOK'></fieldset></dl></div>

          <tfoot id='E9ZOK'></tfoot>
        1. <legend id='E9ZOK'><style id='E9ZOK'><dir id='E9ZOK'><q id='E9ZOK'></q></dir></style></legend>
            • <small id='E9ZOK'></small><noframes id='E9ZOK'>

                  <tbody id='E9ZOK'></tbody>
                • <bdo id='E9ZOK'></bdo><ul id='E9ZOK'></ul>
                  本文介紹了如何為 android 調試 Kivy/Kivymd 應用程序?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  所以我花了一些時間開發一個食譜應用程序:Github 我可以與我的 Raspberry Pi 一起使用,效果很好,我不介意在那里為原始代碼使用啟動器.但是我希望能夠使用 buildozer 方法將 Kivy 應用程序打包為 apk:

                  So I have spent some time developing a recipe app: Github I can use with my Raspberry Pi, which works great and I don't mind using a launcher for the raw code there. However I wanted to be able to package the Kivy application as an apk using the buildozer method:

                  buildozer android debug deploy run
                  

                  編譯成功并且apk安裝正常,但是應用程序在一秒鐘后崩潰,之后我嘗試使用似乎永遠無法識別我的程序的Kivy Launcher,所以我繼續嘗試通過Pydroid 3運行原始代碼,這在過去對 Kivy 和 KivyMD 都有效,但是在嘗試此導入時它會崩潰,這不是我的代碼的一部分:

                  Which compiles successfully and the apk installs fine, however the application crashes after a second, after that I tried using the Kivy Launcher which never seems to recognise my program, so i moved on to trying to run the raw code through Pydroid 3, which has worked in the past for both Kivy and KivyMD however it crashes trying this import which isnt a part of my code:

                  from android.config import JAVA_NAMESPACE, JNI_NAMESPACE
                  

                  我的 buildozer.spec 文件是:

                  my buildozer.spec file is:

                  https://github.com/treencd/RecipeBook/blob/master/buildozer.spec

                  我最終嘗試使用:

                  adb logcat
                  

                  但是輸出似乎沒有幫助,或者我不知道我在尋找什么.

                  However the output doesn't seem that helpful or I dont know what i'm looking for.

                  我真的可以使用一些指導來調試這樣的應用程序.

                  I could really use some direction on how to go about debugging an application like this.

                  推薦答案

                  需要3個步驟(手機開啟調試模式省略).您可以將每個步驟保存為 bash 文件,然后輕松運行腳本.假設文件夾結構如下

                  You need 3 steps (omitted enabling debug mode on cellphone). You can save each step as bash files then run the scripts easily. Assuming the folder structure below

                  project/
                      1.bash
                      2.bash
                      3.bash
                      bin/
                          random_name.apk
                      main.py
                      main.kv
                  

                  1) 構建apk (1.bash)

                  1) Build apk (1.bash)

                  #!/bin/sh
                  buildozer -v android debug
                  

                  2)從終端(2.bash)安裝在手機上

                  2) Install on cellphone from terminal (2.bash)

                  #!/bin/sh
                  adb install -r bin/*.apk
                  

                  3) 運行 apk 并查看發生了什么 (3.bash)

                  3) Running the apk and see what's happening (3.bash)

                  #!/bin/sh
                  echo 'Please connect on transfer files mode the cellphone'
                  adb logcat -s "python"
                  

                  然后當一切正常時,只需創建一個新文件(0.bash)

                  Then when all is working just create a new file (0.bash)

                  #!/bin/sh
                  
                  bash 1.bash
                  bash 2.bash
                  bash 3.bash
                  

                  這篇關于如何為 android 調試 Kivy/Kivymd 應用程序?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                  Get current location during app launch(在應用啟動期間獲取當前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)
                    <bdo id='DrByB'></bdo><ul id='DrByB'></ul>
                      <tfoot id='DrByB'></tfoot>

                    • <small id='DrByB'></small><noframes id='DrByB'>

                        <tbody id='DrByB'></tbody>

                    • <i id='DrByB'><tr id='DrByB'><dt id='DrByB'><q id='DrByB'><span id='DrByB'><b id='DrByB'><form id='DrByB'><ins id='DrByB'></ins><ul id='DrByB'></ul><sub id='DrByB'></sub></form><legend id='DrByB'></legend><bdo id='DrByB'><pre id='DrByB'><center id='DrByB'></center></pre></bdo></b><th id='DrByB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DrByB'><tfoot id='DrByB'></tfoot><dl id='DrByB'><fieldset id='DrByB'></fieldset></dl></div>
                      1. <legend id='DrByB'><style id='DrByB'><dir id='DrByB'><q id='DrByB'></q></dir></style></legend>

                          • 主站蜘蛛池模板: 99视频在线 | 久久久久国产一区二区三区四区 | 美女福利网站 | 黄色在线免费播放 | 黄色免费在线观看网址 | 久久精品视频免费看 | 91爱啪啪| 国产成人久久精品一区二区三区 | 亚洲一区二区三区四区五区中文 | 国产精品视频在线免费观看 | 一级毛片大全免费播放 | 久久免费精彩视频 | 免费的黄色片子 | 毛片免费看 | 国产男女视频 | 久久夜视频 | 欧美精品一区二区在线观看 | 久久新 | 欧美精品二区 | 亚洲国产精品久久 | 亚洲视频一区在线 | 成人av免费| 国产在线观看一区二区 | 亚洲欧美日韩精品久久亚洲区 | 欧美在线播放一区 | 亚洲成av| 老司机免费视频 | 国产毛片毛片 | 天天操网 | 国产精品美女久久久 | 亚洲成人一区 | 国产免费拔擦拔擦8x高清 | 国产在线资源 | 欧美成人免费 | 亚洲精品一级 | 欧美在线视频网 | 在线视频一区二区 | 日韩欧美精品在线 | 亚洲二区视频 | 亚洲精品在线免费 | 久久精品视频免费观看 |