My computer used to be eclipse3.7 to develop Android projects, and the creation of Android projects would normally generate files such as Mainactivity.java and Activity_main.xml. Later do not know what the reason, the computer several disk files on a lot of open are garbled. Find a lot of methods can not be solved, so the hard drive to the format of the system re-installed.After reinstalling the system, reconfigure the eclipse's Android development environment, but found that the created Android
( Now that Google has launched Android studio, students who want to quickly join the Android development can easily configure the development environment, and interested students can find some information about Android studio here.) http://www.android-studio.org/)Body:Adt-bundle for Windows is an integrated IDE, officially provided by Google Android, which already contains eclipse, you no longer need to download eclipse, and the plugin is integrated I
ADT-Bundle for Windows is an integrated IDE officially provided by Google Android. It already contains Eclipse. You do not need to download Eclipse, and the plug-in has been integrated into it, it solves the complicated problem that most new users use eclipse to configure the Android development environment.
With ADT-Bundle
Label:Download the official Android adt-bundle-linux-x86_64-20131030 in Ubuntu 12.04 when the 64-bit system starts, Tip:
Unexpected exception ' cannot run Program "/HOME/XX/SDK/PLATFORM-TOOLS/ADB": java.io.IOException: error=2, No Such file or directory ' while attempting-get ADB version from '/home/xx/sdk/platform-tools/adb '
And there's a strange question:The Android example created did not
( Now that Google has launched Android studio, students who want to quickly join the Android development can easily configure the development environment, and interested students can find some information about Android studio here.) http://www.android-studio.org/)Body:Adt-bundle for Windows is an integrated IDE, officially provided by Google Android, which already contains eclipse, you no longer need to download eclipse, and the plugin is integrated I
Install the JDK in ubuntu12.04, then set up the environment variables, and then continue to install the ADT bundle.It's okay to start eclipse in Eclipse when the endpoint enters the ADT bundleHowever, an error occurred when Eclipse started eclipse from the graphical interface into the ADT bundle, as follows:A Java Runt
1. Build an Android Development Environment
To learn more about Android development, we will start to build an Android development environment in Windows.
I have found some relevant blog posts for reference. Basically, we need to download and install JDK, Eclipse, AndroidSDK, and ADT respectively.
Later, we found the official Android sdk download address, which provides an ADT
Label:
adt-bundle-linux-x86_64-20131030 new project prompts for no solution to ADB and r.java issues
Under ubuntu14.04, build an Android development environment and download the official adt-bundle-linux-x86_64-20131030. Start Eclipse and create a new project. Tip "R" file is not found, that is, R file is
: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlYou may need to configure environment variables after installation, but it is said that after the JDK1.7 version, the installation will have Java.exe,javaw.exe,javaws.exe 3 executables in the System32 directory.This can explain why not configuring the environment variable can also input java-version in cmd, but in this case the input javac is not reactive, so it might be better to configure the environment variable.Download of 2
[Android ndk jni] android-ndk-r9d + adt-bundle-windows environment construction-Hello-jni case study, androidndkr9d
Refer to the blog: http://blog.csdn.net/leilu2008/article/details/12495273
My android ndk version is: android-ndk-r9d-windows-x86_64.zip.
Reminder: do not save the package to a directory containing spaces after decompression. Otherwise, the compiler reports an error when compiling c and c ++
Android Development Environment Description : currently Android has two development environments, one is the traditional Eclipse + ADT, one is currently the latest and Google recommended Android Studio;Eclipse + ADT development environment : What most developers are using is being phased out, and I'm using it now.-- Android Studio Development environment : The environment has been introduced for several yea
In Eclipse, open the Andoirmanifest.xml file in the project root directory to find the following ApplicationAndroid:allowbackup= "true"Android:icon= "@drawable/ic_launcher"Android:label= "@string/app_name"Android:theme= "@style/apptheme"android:debuggable= "true"> ActivityAndroid:name= "Com.demo.firstapp.MainActivity"Android:label= "@string/app_name" > Intent-filter> ActionAndroid:name= "Android.intent.action.MAIN" /> categoryAndroid:name= "Andr
Create an SDK 15 flat simulator, 1024x768, 9.7 ", and LCD density 160.
Condition: You have downloaded the ADT-bundle and the corresponding SDK.
1. Define a device prototype:
Run eclipse, choose Window-android Virtual Device Manager, and select the device definitions page,
In the list, select a device with a close size and resolution, for example, 10.1 "wxga (tablet). Click the clone button and modify it
Refer to the following two blog posts:Http://blog.csdn.net/aizquan/article/details/8974750Http://blog.chinaunix.net/uid-122937-id-3905681.html? /15636.htmlIf the SDK is updated slowly, follow the relevant settings in the blog:Http://ggicci.blog.163.com/blog/static/210364096201281074652643/1: Download JDK and corresponding JAVA APIsHttp://www.oracle.com/technetwork/java/javase/downloads/index.htmlI chose JDK 7 (I didn't select JDK 8, but I was worried that some new plug-ins may be incompatible wi
# #Pkg.descurl=http\://developer.android.com/sdk/# # Delete by Lu7kkang---------------2
platform.mintoolsrev=8
archive.os= any
# #Pkg.sourceurl=https\://dl-ssl.google.com/android/repository/repository-5.xml # # Delete by Luqk---------- 3
pkg.revision=2
Androidversion.apilevel=Ten
pkg.sourceurl=Sources # # Add by Lu7kang---------4
Restart Eclipse, in Android engineering, press CTRL to click on the class name to read the android2.3 source.Method Two:The source is stacked in the S
When you create a project, you are required to enterProduct Name Company identifier,The two property values shocould match the bundle identifier (not app ID) you created in the app IDs of the "provisioning Portal" of the apple developer member center! If they do not match, push notification feature and cloudFeature fails !!
For example,
When you create an app ID"Bundle seed ID (app id prefix)"For" abx453b
Yesterday hand the Android SDK upgrade, and then get the ADT version does not correspond, and then search from the Internet some methods ~ effect can also, reinstall ADT.The method for uninstalling ADT is as follows (my eclipse version is 3.5):1. Choose Help > Install New software;2. In the Details panel, click on the "What is already installed?" link;3. In the Eclipse Installation Details dialog box, selec
Fragment is available at Android3.0 and provides support for fragment features in the Compatibility Pack.The launch of fragment allows us to write and manage the user interface more quickly and easily. But when we instantiate a custom fragment, why is it that the fragment.setarguments (bundle bundle) is officially recommended as a way to pass parameters, rather than simply passing them through a constructor
Method onsaveinstancestate (bundle) and onrestoreinstancestate (bundle) of the activity )).Protected voidOnsaveinstancestate(BundleOutstate)Called to retrieve per-instance state from an activity before being killed so that the State can be restored in oncreate (bundle)Or onrestoreinstancestate (bundle)(The bundlePopula
ADT, C, Java, ADT, CJava
Chapter 2: data abstraction allows the user programmer to get rid of the Implementation Details of the Data Type while writing the customer program and only care about the interfaces of the data type. In computer science, there are some important data abstractions-data structures, which should be introduced as soon as possible. The data structures of computer science research mainly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.