forked from rtyley/agit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always ensure that both the 'apk' and'jar' dependency of the 'impl' project have scope 'provided'. The 'commons-io' exclusion in agit-integration-tests is necesssary to avoid this error: W/dalvikvm( 2242): Class resolved by unexpected DEX: Lcom/madgag/agit/MarkdownActivityBase;(0x40514e90):0x2aecb8 ref [Lorg/apache/commons/io/IOUtils;] Lorg/apache/commons/io/IOUtils;(0x40514e90):0x2a34e8 W/dalvikvm( 2242): (Lcom/madgag/agit/MarkdownActivityBase; had used a different Lorg/apache/commons/io/IOUtils; during pre-verification) D/AndroidRuntime( 2242): Shutting down VM W/dalvikvm( 2242): threadid=1: thread exiting with uncaught exception (group=0x40015560) E/AndroidRuntime( 2242): FATAL EXCEPTION: main E/AndroidRuntime( 2242): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation E/AndroidRuntime( 2242): at com.madgag.agit.MarkdownActivityBase.loadMarkdown(MarkdownActivityBase.java:39) E/AndroidRuntime( 2242): at com.madgag.agit.MarkdownActivityBase.onCreate(MarkdownActivityBase.java:30) E/AndroidRuntime( 2242): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) E/AndroidRuntime( 2242): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) E/AndroidRuntime( 2242): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) E/AndroidRuntime( 2242): at android.app.ActivityThread.access$1500(ActivityThread.java:117) E/AndroidRuntime( 2242): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) E/AndroidRuntime( 2242): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 2242): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime( 2242): at android.app.ActivityThread.main(ActivityThread.java:3683) E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) E/AndroidRuntime( 2242): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 70): Error in app com.madgag.agit running instrumentation ComponentInfo{com.madgag.agit.tests/android.test.InstrumentationTestRunner}: W/ActivityManager( 70): java.lang.IllegalAccessError W/ActivityManager( 70): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation I/ActivityManager( 70): Force stopping package com.madgag.agit uid=10041 This might actually work seriously this might work
- Loading branch information
Showing
6 changed files
with
103 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
agit-integration-tests/src/main/java/com/madgag/agit/RepositoryViewerActivityTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>agit-test-utils</artifactId> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>agit-test-utils</artifactId> | ||
|
||
<parent> | ||
<version>1.26-SNAPSHOT</version> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>agit-parent</artifactId> | ||
</parent> | ||
<parent> | ||
<version>1.26-SNAPSHOT</version> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>agit-parent</artifactId> | ||
</parent> | ||
|
||
<packaging>jar</packaging> | ||
<name>agit test utils</name> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>util-compress</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>org.eclipse.jgit</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>madgag-hamcrest-matchers</artifactId> | ||
<version>0.3</version> | ||
</dependency> | ||
</dependencies> | ||
<packaging>jar</packaging> | ||
<name>agit test utils</name> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>util-compress</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>madgag-hamcrest-matchers</artifactId> | ||
<version>0.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.madgag</groupId> | ||
<artifactId>org.eclipse.jgit</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters