Do i need to import kivy builder everytime i use a .kv file?












0














Im using the kivy python module to make an android app and i was wondering, if i have a main.py and a main2.kv do i need to have



presentation = Builder.load_file("ClientApp.kv")

class ClientApp(App):
def build(self):
return presentation


some where in my code. Because my current problem after packing the program to an apk is that as soon as i try to open the app it immediately closes










share|improve this question













migrated from superuser.com Dec 26 '18 at 9:32


This question came from our site for computer enthusiasts and power users.















  • Try to use adb logcat command on your PC to know the error. See this.
    – Jerome Escalante
    Dec 26 '18 at 23:38










  • According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
    – Jerome Escalante
    Dec 26 '18 at 23:44










  • Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
    – littleman27
    Dec 27 '18 at 13:33












  • i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
    – littleman27
    Dec 28 '18 at 21:46












  • You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
    – Jerome Escalante
    Dec 28 '18 at 21:54


















0














Im using the kivy python module to make an android app and i was wondering, if i have a main.py and a main2.kv do i need to have



presentation = Builder.load_file("ClientApp.kv")

class ClientApp(App):
def build(self):
return presentation


some where in my code. Because my current problem after packing the program to an apk is that as soon as i try to open the app it immediately closes










share|improve this question













migrated from superuser.com Dec 26 '18 at 9:32


This question came from our site for computer enthusiasts and power users.















  • Try to use adb logcat command on your PC to know the error. See this.
    – Jerome Escalante
    Dec 26 '18 at 23:38










  • According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
    – Jerome Escalante
    Dec 26 '18 at 23:44










  • Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
    – littleman27
    Dec 27 '18 at 13:33












  • i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
    – littleman27
    Dec 28 '18 at 21:46












  • You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
    – Jerome Escalante
    Dec 28 '18 at 21:54
















0












0








0







Im using the kivy python module to make an android app and i was wondering, if i have a main.py and a main2.kv do i need to have



presentation = Builder.load_file("ClientApp.kv")

class ClientApp(App):
def build(self):
return presentation


some where in my code. Because my current problem after packing the program to an apk is that as soon as i try to open the app it immediately closes










share|improve this question













Im using the kivy python module to make an android app and i was wondering, if i have a main.py and a main2.kv do i need to have



presentation = Builder.load_file("ClientApp.kv")

class ClientApp(App):
def build(self):
return presentation


some where in my code. Because my current problem after packing the program to an apk is that as soon as i try to open the app it immediately closes







python python-3.x






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 26 '18 at 3:10









littleman27littleman27

87




87




migrated from superuser.com Dec 26 '18 at 9:32


This question came from our site for computer enthusiasts and power users.






migrated from superuser.com Dec 26 '18 at 9:32


This question came from our site for computer enthusiasts and power users.














  • Try to use adb logcat command on your PC to know the error. See this.
    – Jerome Escalante
    Dec 26 '18 at 23:38










  • According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
    – Jerome Escalante
    Dec 26 '18 at 23:44










  • Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
    – littleman27
    Dec 27 '18 at 13:33












  • i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
    – littleman27
    Dec 28 '18 at 21:46












  • You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
    – Jerome Escalante
    Dec 28 '18 at 21:54




















  • Try to use adb logcat command on your PC to know the error. See this.
    – Jerome Escalante
    Dec 26 '18 at 23:38










  • According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
    – Jerome Escalante
    Dec 26 '18 at 23:44










  • Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
    – littleman27
    Dec 27 '18 at 13:33












  • i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
    – littleman27
    Dec 28 '18 at 21:46












  • You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
    – Jerome Escalante
    Dec 28 '18 at 21:54


















Try to use adb logcat command on your PC to know the error. See this.
– Jerome Escalante
Dec 26 '18 at 23:38




Try to use adb logcat command on your PC to know the error. See this.
– Jerome Escalante
Dec 26 '18 at 23:38












According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
– Jerome Escalante
Dec 26 '18 at 23:44




According to the kivy docs, there are 3 different ways to load a kv file. How to load kv file.
– Jerome Escalante
Dec 26 '18 at 23:44












Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
– littleman27
Dec 27 '18 at 13:33






Thanks Jerome i forgot that the kv file had to be lower case because currently it's name is ClientApp.kv
– littleman27
Dec 27 '18 at 13:33














i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
– littleman27
Dec 28 '18 at 21:46






i am running the debug using the buildozer virtual machine but the console is just outputting a bunch of stuff quickly, and not telling me anything about why my app is not starting. And it's taking a long time, how long does it usually take?
– littleman27
Dec 28 '18 at 21:46














You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
– Jerome Escalante
Dec 28 '18 at 21:54






You mean it's taking a long time to build the app? In my case, I have a very old PC. Every time I build my app, it almost took me 30 minutes on the average.
– Jerome Escalante
Dec 28 '18 at 21:54














0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53930072%2fdo-i-need-to-import-kivy-builder-everytime-i-use-a-kv-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53930072%2fdo-i-need-to-import-kivy-builder-everytime-i-use-a-kv-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido