question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application Install Fail

See original GitHub issue

Im getting Application Install Fail error i have tried device and emulator. i got this couple of waring in messages. (GithubBrowserSample)

Information:Gradle tasks [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources]
Warning:Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
/Users/shanuka/android-architecture-components/GithubBrowserSample/app/src/main/java/com/android/example/github/db/GithubDb.java
Warning:(33, 17) Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
Warning:Supported source version 'RELEASE_7' from annotation processor 'android.arch.lifecycle.LifecycleProcessor' less than -source '1.8'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
mladenrakonjaccommented, Jul 2, 2017

I still have this problem. I am using:
classpath ‘com.android.tools.build:gradle:3.0.0-alpha5’ and Kotlin

My error is: Warning⚠️ Supported source version ‘RELEASE_7’ from annotation processor ‘android.arch.lifecycle.LifecycleProcessor’ less than -source ‘1.8’ Warning⚠️ Supported source version ‘RELEASE_7’ from annotation processor ‘android.arch.persistence.room.RoomProcessor’ less than -source ‘1.8’ Error:Execution failed for task ‘:app:kaptDebugKotlin’.

Internal compiler error. See log for more details

5reactions
jimandreascommented, Aug 4, 2017

Thanks for the suggestion. I tried updating to rc2 - and it DID fix my junit failures - the

dao = mock(RepoDao.class);

was failing deep inside byte-buddy mysteriously in my derivative project. Dunno if rc2 fixed it or masked the problem. BUT I am still seeing the RELEASE_7 error.

Compiling with source level 1.8 and target level 1.8.

warning: Supported source version 'RELEASE_7' from annotation processor 
'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
C:\Users\Jim\Desktop\AS22-active\PopM\app\src\main\java\com\jimandreas\aarch\popm\db\GithubDb.java:44: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class GithubDb extends RoomDatabase {
            ^
warning: Supported source version 'RELEASE_7' from annotation processor 
'android.arch.lifecycle.LifecycleProcessor' less than -source '1.8'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Install Apps or Software on Windows? Here's What ...
Unable to Install Apps or Software on Windows? Here's What to Do · 1. Reboot Your Computer · 2. Check App Installer Settings...
Read more >
App Installation Failed - Microsoft Community
1) Start -> Run -> gpedit.msc. Step 2: · 2) Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> ......
Read more >
App Installation Failed - ManageEngine
App installation may fail due to incorrect server time. The server time needs to match the local standard time. In case of a...
Read more >
Troubleshooting application installation errors
Troubleshooting application installation errors · Locking conflicts. To resolve a locking conflict, select the Unlock checkbox, and then click Retry Import.
Read more >
Software Failing to Install Through Software Center - Sign In
Check your network connection to ensure it is connected to WKU's network. · Quit the Software Center app. · Click Start. · Search...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found