I have download the Facebook SDK for Android development and imported that in my project. But when I import that in my project, I get a windows dialog with the message that aapt.exe has stopped working. But the biggest problem of all is that all of my files in my project get an error because files in my gen folder get deleted (R.java and Manifest.java). How come this is happening and how can I solve this? I've updated everything that there is to update and cleaned both Facebook SDK library as my own library.
Related
Was trying to run a jar file(non j2me/ real time os on its own) but java code with a main....
As android is a java machine, how can i run a received jar file build on windows??
All tips are welcome
Enthusiastic Gio User
Very glad with the work done
But sometimes a pusher for results( nothing bad intended)
It's not that simple.
Of course, android is Java based, but doesn't include all standard java libraries (i.e. graphical libs awt and swing).
If you are sure, that your .jar file is 100% compatible then create android project, include that .jar as a library and use it there.
ok so earlier i was asking about how to come over from windows phone developing, i didnt just sit and wait for replys i got started.
i installed android studio
i learned that it didnt have the 4.4 api by default (the version of android my new phone will be running) so i located the sdk manager and installed the missing sdk
the preview pane for the layout editor could not render...i learnt i needed to go to the module settings and change the target there, then to the preview pane drop down and change the targeted android version there.
I added a simple button and then realised i have an error with the java ...that i have yet to touch!
Code:
public class MainDisplay extends ActionBarActivity {
ActionBarActivity is deapreciated....but thats the default template!
Code:
getMenuInflater().inflate(R.menu.menu_main, menu);
cannot resolve symbol R ....again default "blank activity" template
checked for updates and it is the latest version of android studio : 1.2.1.1
my jdk is the latest version : jdk1.8.0_45 (64bit)
any ideas why my android studio (freshly installed today) is generating broken templates ? or any ideas how to fix?
1- Why I can't open xml files from android library in eclipse? When I double click on it, I got this error:
Android XML Editor cannot process this input.("i.stack.imgur.com/aiaa9.png")
2- How can I search in android library codes?
3- Where is setting activity in this library? To be more specific I want Date & Time activity ("i.stack.imgur.com/lY7SJ.png")
I need the android.jar library provided in the android-sdk. But I don't want to download the whole android-sdk as I am not a developer and I don't need the whole package. So, If any of you reading this have the android-sdk downloaded in their computer, please upload the android.jar library. I would want the library of the latest API (Android 6, API 23) but if you have the library of lower version you can still provide it.
Thank you.
i am a newbie, i am getting the following error while trying to import an app in android studio:
* Project Ringster:F:\App\2\project.properties:
Library reference ..\TestLinSDK could not be found
Path is F:\App\2\..\TestLinSDK which resolves to F:\App\TestLinSDK
i need to present the apk in few hours if somebody could help me i'll be grateful, even i can give a free rooted server