I have a problem in showing a file app and JAVA in Android Studio
And change Package name
I have installed JAVA but it is not showing
According to your screenshot, what you opened is not a android project. You should open your project File->Open. Then you can select the folder of your file application. If the folder contains an android project, there is an Android Studio logo next to it like this
example. This is an example of an Android project. Hope this help.
Related
I Try To Build An Android App with JS
I Want To Build An Apk Of My HTML , CSS , JS Apllication
How Can I do ?
Note : i want Apk File For Android App Stores Not Only Mine
For a native way you should look at: Building Web Apps in WebView
For a framework way of building it look at:
Apache Cordova: http://cordova.apache.org
or Phone gap: http://phonegap.com
I am searching from 2 months regarding app icon in ionic. but failed to set app icon.
I want to mention what i have done.
after running => ionic resources --icon
I can see the images in this folder \resources\android\icon.
I think there is no problem in my project
even i have tried to make scratch project and done the same but same result.
ionic version 2.1.12
npm version 4.0.2
node version 5.7.0
android version "6.0.0"
android platform 23 or 24
There could be some problem with the image file you are using. You can use (.png), (.psd) and (.ai) files. Try using the file in some other format instead of which you already are. Save the file within the resources directory at the root of the Cordova project. The icon image’s minimum size should be 192 by 192 px, and there should be no rounded corners. Then run this command.
Run ionic resources from CLI.
After that following folders will be created
resources > android,
resources > ios.
Add icon.png (or icon.psd or icon.ai) file in resource folder and run ionic resources command again. This will generate the splash image as well.
I had same problem. in my case new changes were not reflected to
/platform/android/res/ directory..
So I just copied content of /res (from project root directory) to
/platform/android/res.
Then it worked for me.
Try to update your android platform to the latest version:
cordova platform update android#6.1.0
And then run ionic resources --icon again.
I am using MobileFirst 6.3.0 plugin, Xcode 7.3.1. Eclipse
On a Hybrid App, I did some changes to common resources, after the build the App, the changes were applied successfully on Android, but for iOS the were not applied. Debugging with Xcode Simulator, I saw the old code still remains.
I already did the following steps with no success results:
Remove the wlBuildResources and wlPreview directories.
Remove all the artifacts under the bin directory.
Anyone of you have any idea how to fix this issue?
It is unclear from your explanation how exactly did you do the build...
Make a change in the index.js file for example
Right-click on the "iphone" folder -> run as -> Xcode project (which will then open the updated project in Xcode for you to compile it and run in a simulator or physical device) or Right-click on the "applicationName" folder -> run as -> run on MobileFirst Development Server (after which you need to manually open the generated Xcode project (the iphone\native folder) in Xcode by yourself.
I am getting an issue/error while creating/importing crosswalk cordova plugin into eclipse.
Can any one share a simple steps from scratch for creating crosswalk cordova app with eclipse.
Also tell me which eclipse type & version is required.
Steps to Import Crosswalk Lib plugin in Eclipse :-
Download CrossWalk from https://download.01.org/crosswalk/releases/crosswalk/android/stable/12.41.296.9/arm/crosswalk-webview-12.41.296.9-arm.zip
Once the Zip is downloaded extract it and paste it in the same directory where your eclipse project is saved.
Now goto Eclipse New -> Import -> Android ->Existing Code into workspace -> goto your location and make sure you donot copy the crosswalk project into your eclipse workspace.
Once Import is done right click on your project click Properties (Alt+Enter) - > Android -> Add -> Choose crosswalk from your workspace and Done..
I'mnt sure about what you want to say with "importing plugins into eclipse".
If you want to use plugins you have to use CLI ( some plugins installation at the end of the page ).
Otherwise, if you want to create your own plugin, follow this guide.
I've been following tutorials to set up a PhoneGap project (Android) on Eclipse, I'm fairly new to JS frameworks so I'm setting it up to start learning how to use them. In the tutorial (and any other I watch), they use an older version of PhoneGap that includes a .jar file and that isn't present with the latest version. I'm guessing it will still be easy to do but I'm just missing something obvious.
Is there another way to set it up now? Or do I simply not need this file? Thank you for any help.
The Documentation specifically shows how to open up the project in Eclipse.
Use the cordova utility to set up a new project, as described in The Cordova The Command-Line Interface. For example, in a source-code directory:
$ cordova create hello com.example.hello "HelloWorld"
$ cd hello
$ cordova platform add android
$ cordova build
Launch the Eclipse Application.
Select New Project menu item.
Choose Android Project from Existing Code from the resulting dialog box, and press Next:
Navigate to hello, or whichever directory you created for the project, then to the platforms/android subdirectory.
Make sure both hello and hello-CordovaLib projects are selected to be imported. The hello-CordovaLib project is needed as of Cordova 3.3.0 because Cordova is now used as an Android Library instead of a .jar file
Press Finish.
This is all in the documentation.