adt

Android application problems in Eclipse

可紊 提交于 2019-12-31 03:06:26
问题 I'm a .NET developer but I like JAVA so in my free time I play around with that. I don't normally use Eclipse but I installed the ADT eclipse plugin and Andriod SDK and I started learning and I made a new project with a TableLayout and it kinda looks good, and it runs ok on the emulator. However... there a few things that drive me absolutely catatonic and perhaps I am doing something wrong so please help me out. Firstly, if I change the main.xml file in whatever way, even by adding what is

Type \'JNIEnv\' could not be resolved
等信息解决的方法

删除回忆录丶 提交于 2019-12-31 01:35:33
曾经做Android的项目要用到NDK就必需要 下载 NDK,下载安装Cygwin(模拟Linux环境用的),下载CDT(Eclipse C/C++开发插件),还要配置编译器,环境变量... 麻烦到不想说了,Shamoo在网上查了一下资料,发现了一个超级快配置NDK的办法。 Step1:到Android官网下载Android的开发工具ADT(Android Development Tool的缩写),该工具集成了最新的ADT和NDK插件以及Eclipse,另一个最新版本号SDK。解压之后就能够用了,很爽! ADT插件:管理Android SDK和相关的开发工具的 NDK插件:用于开发Android NDK的插件。ADT版本号在20以上。就能安装NDK插件,另外NDK集成了CDT插件 也能够在线更新ADT、NDK插件。只是速度超级慢...所以果断在网上下载集成开发工具ADT。下载链接见:http://developer.android.com/sdk/index.html Step2:到Android官网下载最新的NDK,注:NDK版本号在r7以上之后就集成了Cygwin,并且还是十分精简版。比起下载Cygwin要方便多啦。下载链接见:http://developer.android.com/tools/sdk/ndk/index.html 下载完毕之后。解压搞定! Step3

Google map view no longer loading after ADT upgrade; apparent authentication issue?

混江龙づ霸主 提交于 2019-12-30 11:17:07
问题 I'm working on an location-aware Android app that uses Google Maps. I upgraded by ADT to 23.0.0.1245622 the other day. I think I was on v22.6.2-1085508 before then. Now the map view only contains the Google logo and the +/- buttons. And, eerily, my logcat contains the following line: 07-01 12:15:08.548: E/Google Maps Android API(6299): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors). I have tried cleaning the

Eclipse JUNO + ADT 23.0.2 Resources$NotFoundException

╄→尐↘猪︶ㄣ 提交于 2019-12-30 10:08:20
问题 After I recently installed the latest Eclipse ADT bundle I get some errors in an old project I was working on: No known package when getting value for resource number 0x7f080028 android.content.res.Resources$NotFoundException: String resource ID #0x7f080028 at android.content.res.Resources.getText(Resources.java:222) at android.content.res.Resources.getString(Resources.java:275) at android.content.Context.getString(Context.java:183) ... In my R-file there is the correct connection between the

How to automatically generate proguard-android.txt?

烂漫一生 提交于 2019-12-30 09:35:17
问题 Reading all the wonderful things the new ProGuard Improvements for Android do, I switched to to the new scheme by uncommenting the following line in a newly created project: proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt;proguard-project.txt But when I try to export this project's APK, I am greeted with the following message: Invalid proguard configuration file path C:\android-sdk-windows\tools\proguard\proguard-android.txt does not exist or is not a regular file Well, I

ADT 22.3 (android 4.4) - getting error “After scene creation, #init() must be called”

妖精的绣舞 提交于 2019-12-29 12:08:27
问题 After installing the new ADT (22.3.0.v201310242005-887826) which supports Android 4.4 (KitKat), I keep getting the error as shown here: An internal error has occurred In the list of errors, I see multiple items of "RenderPreview", and when I click on any of them, I see: An internal error has occurred. After scene creation, #init() must be called When testing the new ADT on another computer, I can't see this error appearing there. This is very weird. Why do I get those errors, and what can I

ADT 22.3 (android 4.4) - getting error “After scene creation, #init() must be called”

為{幸葍}努か 提交于 2019-12-29 12:06:33
问题 After installing the new ADT (22.3.0.v201310242005-887826) which supports Android 4.4 (KitKat), I keep getting the error as shown here: An internal error has occurred In the list of errors, I see multiple items of "RenderPreview", and when I click on any of them, I see: An internal error has occurred. After scene creation, #init() must be called When testing the new ADT on another computer, I can't see this error appearing there. This is very weird. Why do I get those errors, and what can I

After upgrading to Android Developer Tools version 22, compiling fails

◇◆丶佛笑我妖孽 提交于 2019-12-29 03:53:26
问题 Today, I upgraded ADT to version 22. After that, my projet wouldn't compile resources at all. My "gen" folder was empty and as such all my java files that require "R" wouldn't compile. 回答1: After a few non-full time hours, I restarted the "Android SDK Manager" and this time, I noticed these: - "Android SDK Platform Tools" (upgrade) - "Android SDK built-tools" (new) After installing those, I was finally able to fully compile my project. 回答2: ADT22 use Android Private Libraries show project

Android SDK在线更新镜像服务器

北慕城南 提交于 2019-12-29 03:51:18
原文:http://www.androiddevtools.cn/ Android SDK在线更新镜像服务器 中国科学院开源协会镜像站地址: IPV4/IPV6: http://mirrors.opencas.cn 端口:80 IPV4/IPV6: http://mirrors.opencas.org 端口:80 IPV4/IPV6: http://mirrors.opencas.ac.cn 端口:80 上海GDG镜像服务器地址: http://sdk.gdgshanghai.com 端口:8000 北京化工大学镜像服务器地址: IPv4: http://ubuntu.buct.edu.cn/ 端口:80 IPv4: http://ubuntu.buct.cn/ 端口:80 IPv6: http://ubuntu.buct6.edu.cn/ 端口:80 大连东软信息学院镜像服务器地址: http://mirrors.neusoft.edu.cn 端口:80 使用方法 : 启动 Android SDK Manager ,打开主界面,依次选择『 Tools 』、『 Options... 』,弹出『 Android SDK Manager - Settings 』窗口; 在『 Android SDK Manager - Settings 』窗口中,在『 HTTP Proxy Server

Exporting APK from eclipse (ADT) silently crashes

旧城冷巷雨未停 提交于 2019-12-29 02:21:10
问题 Every time I try to export an APK from Eclipse (tried Juno and Indigo) on Mac, eclipse crashes after a few seconds This used to work fine on my current setup. Running the app straight (debug mode) on my phone works fine. The error from the console is: Invalid memory access of location 0x10073f113 rip=0x101f656f7 Bus error: 10 I'm using Mac OS X 10.7.4 on a ~2010 MacBook Pro, with the following java: java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) Java