Showing posts with label develop. Show all posts
Showing posts with label develop. Show all posts

5/01/2014

记录Android学习中遇到的问题及解决方法

问题:导入项目到Eclipse提示:“the type R is already defined”
解决方法:删掉src文件夹下的R.java文件,刷新工程即可
参考:http://bbs.csdn.net/topics/350161951?page=1#post-352784398


问题:在安卓模拟器中运行时提示“PANIC: Could not open”
解决方法:设置ANDROID_SDK_HOME环境变量及修改eclipse\configuration.settings\org.eclipse.ui.ide.prefs内容。
参考:http://blog.csdn.net/top_code/article/details/12008269


问题:Eclipse关联JAVA源文件后,双击JAVA源文件提示“Failed to create the Java Virtual Machine”
解决方法:修改eclipse解压目录下的配置文件eclipse.ini内的”--launcher.XXMaxPermSize 256M“改为”--launcher.XXMaxPermSize 128M“(共两处)。
参考:http://blog.csdn.net/rflyee/article/details/8958165

问题:安装到真机测试,提示“Installation error: INSTALL_CANCELED_BY_USER”
解决办法:在手机上需要手动点击确定才可以安装。
参考:http://bbs.xiaomi.cn/thread-8072542-1-1.html


生成jar包供调用:http://www.cnblogs.com/vivid-stanley/archive/2012/02/18/2357182.html

9/05/2013

Tools or Language To Develop Applications On Android

Many people want to develop apps on Android for certain reason. There are some tools at their choice. Here is a part of list.

Java

As everyone knows, a lot of apps are developed by using Java language. You can find numerous resource about it.


App Inventor

A visual development environment for developing simple application on Android. It is published at about 2010. At about 2011, Google distribute the project to MIT. So it's a online product of MIT now. You can find it here.


Tasker AppFactory

Through the awesome app - Tasker, you can make some powerful creations. Then you can package and export your creation as an app. You can get it from Google Play.


SL4A

Scripting Layer for Android (SL4A) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface that makes it easy to get things done.
Visit SL4A homepage>>


Kivy + Python

Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps.
Visit Kivy homepage>>

A brief experience of Kivy + Paython on Android, here you go.