久久久久久久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 調(diào)試 Kivy/Kivymd 應(yīng)用程序?

        How to debug a Kivy/Kivymd app for android?(如何為 android 調(diào)試 Kivy/Kivymd 應(yīng)用程序?)

        <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 調(diào)試 Kivy/Kivymd 應(yīng)用程序?的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  所以我花了一些時(shí)間開發(fā)一個(gè)食譜應(yīng)用程序:Github 我可以與我的 Raspberry Pi 一起使用,效果很好,我不介意在那里為原始代碼使用啟動器.但是我希望能夠使用 buildozer 方法將 Kivy 應(yīng)用程序打包為 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安裝正常,但是應(yīng)用程序在一秒鐘后崩潰,之后我嘗試使用似乎永遠(yuǎn)無法識別我的程序的Kivy Launcher,所以我繼續(xù)嘗試通過Pydroid 3運(yùn)行原始代碼,這在過去對 Kivy 和 KivyMD 都有效,但是在嘗試此導(dǎo)入時(shí)它會崩潰,這不是我的代碼的一部分:

                  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.

                  我真的可以使用一些指導(dǎo)來調(diào)試這樣的應(yīng)用程序.

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

                  推薦答案

                  需要3個(gè)步驟(手機(jī)開啟調(diào)試模式省略).您可以將每個(gè)步驟保存為 bash 文件,然后輕松運(yùn)行腳本.假設(shè)文件夾結(jié)構(gòu)如下

                  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) 構(gòu)建apk (1.bash)

                  1) Build apk (1.bash)

                  #!/bin/sh
                  buildozer -v android debug
                  

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

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

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

                  3) 運(yùn)行 apk 并查看發(fā)生了什么 (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"
                  

                  然后當(dāng)一切正常時(shí),只需創(chuàng)建一個(gè)新文件(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
                  

                  這篇關(guān)于如何為 android 調(diào)試 Kivy/Kivymd 應(yīng)用程序?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  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 或網(wǎng)絡(luò)提供商)
                  Get current location during app launch(在應(yīng)用啟動期間獲取當(dāng)前位置)
                  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>

                          • 主站蜘蛛池模板: 999久久久久久久久6666 | 国产婷婷精品av在线 | 涩爱av一区二区三区 | 亚洲成人精品在线 | 亚洲精品久久久久中文字幕二区 | 日日操视频 | 日韩免费视频 | 成人av一区| 国产一二区视频 | 日韩av免费在线观看 | 国产视频欧美 | 亚洲免费在线播放 | 黄色精品 | 久久综合久久久 | 午夜影院在线观看免费 | 久在线视频 | 一区二区免费视频 | 欧美精品91 | 久久久精品在线 | 欧美激情视频网站 | 毛片1 | 欧美另类视频 | 99久久久无码国产精品 | 久久精品亚洲精品国产欧美 | 91视频国产一区 | 99热精品在线观看 | 国产精品视频一区二区三区 | 狠狠干狠狠操 | 97久久精品午夜一区二区 | 国产高清视频一区二区 | 久久久久久久久99 | 久www| 狠狠躁躁夜夜躁波多野结依 | 亚洲 精品 综合 精品 自拍 | 亚洲欧洲在线观看视频 | 国产成人麻豆免费观看 | 欧美一级免费看 | 91久久国产综合久久 | 久久亚洲视频 | 日本超碰 | 成年人视频免费在线观看 |