android-build

Any service for testing Android applications on multiple Hardware devices?

扶醉桌前 提交于 2019-11-30 21:03:46
I have developed a android application which I want to test on multiple devices before I release in market. Is there any service provider online who will test the application on as many android devices as possible and give me the test results like the performance, bugs etc. Any kind of helpful details in this regards is appreciated. Thank you for your time. See http://www.perfectomobile.com/portal/cms/Services/android 来源: https://stackoverflow.com/questions/6352748/any-service-for-testing-android-applications-on-multiple-hardware-devices

What's the difference between principles of useLibrary and compile files('') in build.gradle?

别说谁变了你拦得住时间么 提交于 2019-11-30 17:44:17
问题 After Android 6.0 releases, Support for the Apache HTTP client is removed. If our app is using this client and targets Android 2.3 (API level 9) or higher , HttpURLConnection class is recommended. It's said that this API is more efficient because it reduces network use through transparent compression and response caching, and minimizes power consumption. If we want to continue using the Apache HTTP API s, you must first declare the following compile-time dependency in our build.gradl e file:

Dynamically generating productFlavors and sourceSets using a list of names (with properties) in a CSV/TXT file

孤街浪徒 提交于 2019-11-30 17:38:16
问题 This question in continuation of my other question, which i want to improve further. I am being able to group flavors (having common configuration) under sourceSets with the following code : (got it from a genius in the linked question above) import com.android.build.gradle.api.AndroidSourceSet android { sourceSets { [flavor2, flavor4].each { AndroidSourceSet ss -> ss.assets.srcDirs = ['repo-assets/flavor2'] ss.res.srcDirs = ['repo-res/flavor2'] } } } Now, I was wondering if the list [flavor2

What is the difference between some “Android Development/SDK tools”?

烈酒焚心 提交于 2019-11-30 17:37:05
What is the difference between the Android Development Tools and the Android SDK Tools and the Android SDK Platform-tools and the Android SDK Build-tools? And why not merge some of them into fewer groups? The 4 tools confused me when I downgrading/upgrading them. akinfermo Well, the Android Development Tools(ADT) is a plugin that is used in combination with Eclipse to develop apps.There is an ADT bundle that is a package that contains everything you need to start creating apps. However the SDK Tools is a downloadable component for the Android SDK . It includes the complete set of development

Using Gradle with an existing Android project

∥☆過路亽.° 提交于 2019-11-30 17:25:36
I have an existing Android project with the following structure: - ProjectName -- AndroidManifest.xml -- local.properties -- project.properties -- assets -- libs (containing all jars) -- modules (containing all library projects my project depends on) -- res -- src ---- com/namespace/projectname (all my classes including main activity are here) I haven't been using any specific build system to build my project other than the one provided by default with the Android Studio IDE (though the project was originally created with IntelliJ CE. I would like to use Gradle with the android plugin and do

Error Building Project in Android Studio \"Error: No resource found that matches the given name (at ____ with value '@drawable/<name>')

社会主义新天地 提交于 2019-11-30 11:43:40
I've searched all over Google, stackoverflow and other android programming websites, many have suggestions for people who have misplaced files from one folder to another and so forth.. But none that illustrate the problem I'm facing. It's not a corrupt file as in the case here as I tried this with no success. The error I'm facing is similar though: [debug] C:\Users\Name\AppData\Local\Temp\android_manifest_copy6264790980678653632tmp\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher'). Similarly, this is happening

NoClassDefFoundError on Calligraphy library

跟風遠走 提交于 2019-11-30 11:31:07
After adding compile 'com.android.support:support-v13:21.0.+' to build.gradle , I had some conflicts on building my app, so I had to add multiDexEnabled = true to defaultConfig inside build.gradle . Those conflict are gone, but i got another exception (on opening the app) for the missing calligraphy library: java.lang.NoClassDefFoundError: uk.co.chrisjenx.calligraphy.R$attr at uk.co.chrisjenx.calligraphy.CalligraphyConfig$Builder.<init>(CalligraphyConfig.java:150) at com.taxiyaab.android.util.ApplicationClass.onCreate(ApplicationClass.java:120) at newapp.com.taxiyaab.taxiyaab

How to do an android mm clean?

懵懂的女人 提交于 2019-11-30 11:24:40
问题 I'm building custom module in Android source using the mm command. When I run mm clean , it seems that the whole project is cleaned. How can I restrict the clean to just the current module? 回答1: Use mm -B , it will rebuild all, equivalent to clean and then make. 回答2: Another way to do without mm is to give make clean-<target name> from root of Android source. Similarly you can build the required module alone with make <target name> 回答3: make <lib> 2>&1 | grep -e "install" This will make the

Add one android project as a library in AOSP App

浪尽此生 提交于 2019-11-30 11:09:52
问题 I want to add some features into Browser app by start an activity from another android application. It gives me package does not exist while I make the Main Project. Notice that I see the AndroidLib is built successfully into an out/target/product/generic/data/app/AndroidLib.apk Here are two android.mk files: AndroidLib(a normal Android App) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_STATIC_JAVA_LIBRARIES := \ google-ps \ android-support-v4 \ LOCAL_SRC_FILES := \ $(call all-java

How to just build Android system image

感情迁移 提交于 2019-11-30 09:03:30
I made some small changes in framework/base, and did a "mm" under that folder. Now I don't want to run "make" on the project root because the makefile including process is very slow. Is there a quick way to just build the system image without going through the lengthy including process? If your changes effect other applications, use make systemimage , otherwise use make snod . Notice: make systemimage will check dependency during compile progress, while make snod will not do this check, so the former command need more time than the latter. 来源: https://stackoverflow.com/questions/29023406/how