launcher

The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I updated the AndroidStudio to version 3.1 Clean Project... and build failed The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled something? However, the 3.0.1 version of AndroidStudio does not have this problem Detailed log: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':ios_dialog_lib'. at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:94) at org.gradle.configuration.project

Android: How to make device run only one app?

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have an customer project where I have to make single task android device. Customer isn't able to escape the application which my company have developed. Also customer isn't able to start any other application and our application is started when the device is booted. Overall all the customer is able to do with the device is run our application. Is there any other way to make this work than rooting the device, disabling all system buttons and making our application the launcher. I have something like 400 devices for this purpose so

How does an application launcher update itself?

会有一股神秘感。 提交于 2019-12-03 05:49:30
问题 Launchers are most common in games. Think of League of Legends, Starcraft II, or almost any MMO out there. Before starting the actual game, you have a small launcher app that takes care of updates and patching. I want to move this direction with a particular non-game application I am developing. The concept of the launcher makes perfect sense: it checks for updates, replaces the appropriate binaries/libraries, maybe runs an integrity check, and launches the application. However, how do

open android own launcher from my application

不想你离开。 提交于 2019-12-03 03:26:21
hi Its been 2 days looking for this simple problem. I want to launch Android own launcher from my application EVEN if its not set as default. final PackageManager packageManager=getPackageManager(); Intent intent = packageManager.getLaunchIntentForPackage("com.android.launcher"); this return null for Android own launcher but if I try custom launcher is give me successfully Found the solution, after investigating source code of getLaunchIntentForPackage . As per documentation, The current implementation will look first for a main activity in the category CATEGORY_INFO, next for a main activity

Unable to start Jenkins [duplicate]

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question already has an answer here: Jenkins won't start: Failed to listen on port 8080 6 answers Can’t start Jenkins using [java -jar jenkins.war] Thrown with below exception: C:\Praveen Kumar Subramaniyan\07. Automation\99. Others>java -jar jenkins.war Running from: C:\Praveen Kumar Subramaniyan\07. Automation\99. Others\jenkins.war webroot: $user.home/.jenkins Jun 15, 2015 6:16:52 PM winstone.Logger logInternal INFO: Beginning extraction from war file Jun 15, 2015 6:16:52 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty

Jenkins Can't Run xcodebuild from project folder

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm attempting to set up a CI environment for an iOS application. So far I've gotten xcodebuild to build the test build correctly from the command line but when Jenkins tries to execute it I get the following read out in the console: Started by user anonymous Building in workspace /Users/Shared/Jenkins/Home/jobs/Unit Tests/workspace Working directory is /Users/iosappdev/Documents/Xcode Projects/rules. [rules] $ /usr/bin/xcodebuild -version FATAL: Cannot run program "/usr/bin/xcodebuild" (in directory "/Users/iosappdev/Documents/Xcode

Non-resolvable parent POM for Could not find artifact and 'parent.relativePath' points at wrong local POM

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to maven. I have one project which I try to build with the maven3. When I run the command mvn -X clean install I got the error. [root@localhost]# mvn -X clean install Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) Maven home: /usr/local/maven Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-279.9.1.el6.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned

clear application defaults

匿名 (未验证) 提交于 2019-12-03 03:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using category android:name="android.intent.category.HOME" category android:name="android.intent.category.DEFAULT" to override the HOME button behavior and point it to my application. On this particular tablet, i only want this custom application to run and for the average user not be able to exit out of it (ie. tablet at a museum exhibit ) I have a hidden sequence to trigger the close of the application super.onDestroy(); this.finish(); but it just opens back up because i have set it to be my default launcher application. I know how to

Execution failed for task ':app:compileDebugJavaWithJavac' Android Studio 3.1 Update

匿名 (未验证) 提交于 2019-12-03 02:59:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting error after updating version of Android Studio 3.1 Canary 6 I don't why its happen, before that its running successfully. org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details. at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors

PhantomJS not captured when ran via build server

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Karma and PhantomJS with Jasmine to test my AngularJS. When I run my gulp test locally it works fine, launches PhantomJS and runs all my tests, but when the tests get run on the build server it fails with the following errors: Note that I am using VSTS and using their built in cloud build system (hosted agent). Having said that its pretty much a task runner and I only use it to run gulp tasks (build, test etc) on checkin [32m13 07 2016 15:21:32.260:INFO [karma]: [39mKarma v1.1.1 server started at http://localhost:9876/ [32m13 07