|
I've written a few apps Richard using Android Studio so am not a complete novice but this app interests me as a learning example because I actually use it and it's very good
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Did you create this project from scratch, or import it from Eclipse?
If the latter, have you looked in those projects to see where the AndroidManifest.xml file resides?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Hi Dave, as I said earlier I downloaded the project from github
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Just took a look on github and the file is definitely there (Squeezer/src/main). Are you sure it got downloaded correctly?
|
|
|
|
|
Yes
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Hi Richard would you mind trying to download and build the project ( obviously if you have the time ) in Android Studio ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Sorry Pete, I don't have Android Studio, I found that it is extremely slow on my system so I use eclipse.
You may like to go back and check exactly where in the build the error appears, as there are (by the look of the build tree) other pieces that may be actioned.
|
|
|
|
|
Ok Richard thanks, when you say other pieces need to be actioned do you mean downloaded seperately and built ? I ask this because I notice a module / project calles EventBus although it's shown on GitHub as being part of the project it doesn't actually get downloaded in the the zip file.
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Yes, I did actually download the zip file yesterday and there seemed to be some other (test) projects in there, so it may be something to do with that. As I said, you need to check exactly where in the build the error occurs.
|
|
|
|
|
Thanks Richard - I've actually installed Eclipse now if that helps ?, I naively thought the process would be similar to downloading a Visual Studio solution and building it - why is everything so difficult ? - thanks again
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Maybe; eclipse uses a different project structure, so you cannot just build from the existing download. I do know that Android Studio will import eclipse projects and (try to) re-configure them, but I don't know if eclipse can do the same with an Android Studio project. I guess you will have to try it and see.
pkfox wrote: why is everything so difficult ? If it was easy then the IT industry would not need clever sods like us. All apps would be created by the guys in Q&A.
|
|
|
|
|
Are you saying the GitHub project is an Eclipse project format ? ( I don't know the difference )
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
No it's definitely Android Studio. The project tree structures are different, and Android Studio uses something called gradle[^] (WTE?), while eclipse uses ADT to do the actual compile, link, package steps.
|
|
|
|
|
That's part of the problem Richard the build just fails without giving you a line number or file name it just informs you it can't find the manifest in fact it probably doesn't even begin building because of that - a real life catch 22 - I am on the point of giving up on this - have you ever successfully cloned and compiled a git repo for Android ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Sorry, but I have never used any Github projects. There appears to be a forum for questions there which may be worth a try - see the "issues" link on the right of the page. My only other suggestion is to try an email to Peter Leow[^], who has written some excellent Android articles, and is a fan of Android Studio.
|
|
|
|
|
Thanks Richard
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Have you got an email address for Mr Leow ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
No, you will have to post a message via one of his article forums.
|
|
|
|
|
Ok thanks Richard
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Just for completeness I downloaded the project and tried to import it into eclipse, but I'm afraid that did not work. It seems eclipse cannot handle Android Studio projects.
|
|
|
|
|
Ok at least I know it's not just me
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Hi Richard, just thought I'd let you know I have it working - the main problem seems to be me the way Github packages the zip file, the main project is called "android-squeeze-master" but when you download and unzip the file another folder is created underneath the original so you now have "android-squeeze-master\android-squeeze-master" this then totally screws up all the relative references which are in build.gradle et al, the other problem is, the referenced "other projects" need to be downloaded seperately and added to the tree ( before opening the project in Android Studio ), what a nightmare - thanks for all your help I was on the verge of giving up but that's not in my nature.
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Congratulations.
pkfox wrote: I was on the verge of giving up but that's not in my nature. Quite right, you are a real developer after all.
|
|
|
|
|
Trying to build it on my Android tablet now using AIDE ( 1236 errors so far ) here we go again "Unknown type or package R" etc etc...
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
sir can i disable an mobile verification code used by an app
|
|
|
|