-
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.
update to work in latest Android Studio version
- Loading branch information
Showing
64 changed files
with
502 additions
and
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 25 | ||
buildToolsVersion "25.0.0" | ||
defaultConfig { | ||
applicationId "com.example.eruption" | ||
minSdkVersion 15 | ||
targetSdkVersion 25 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
compile 'com.android.support:appcompat-v7:25.1.0' | ||
testCompile 'junit:junit:4.12' | ||
} |
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
26 changes: 26 additions & 0 deletions
26
app/src/androidTest/java/com/example/eruption/ExampleInstrumentedTest.java
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.example.eruption; | ||
|
||
import android.content.Context; | ||
import android.support.test.InstrumentationRegistry; | ||
import android.support.test.runner.AndroidJUnit4; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
/** | ||
* Instrumentation test, which will execute on an Android device. | ||
* | ||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
*/ | ||
@RunWith(AndroidJUnit4.class) | ||
public class ExampleInstrumentedTest { | ||
@Test | ||
public void useAppContext() throws Exception { | ||
// Context of the app under test. | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
|
||
assertEquals("com.example.eruption", appContext.getPackageName()); | ||
} | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<resources> | ||
<!-- Example customization of dimensions originally defined in res/values/dimens.xml | ||
(such as screen margins) for screens with more than 820dp of available width. This | ||
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). --> | ||
<dimen name="activity_horizontal_margin">64dp</dimen> | ||
</resources> |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="colorPrimary">#3F51B5</color> | ||
<color name="colorPrimaryDark">#303F9F</color> | ||
<color name="colorAccent">#FF4081</color> | ||
</resources> |
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,7 +1,5 @@ | ||
<resources> | ||
|
||
<!-- Default screen margins, per the Android Design guidelines. --> | ||
<dimen name="activity_horizontal_margin">16dp</dimen> | ||
<dimen name="activity_vertical_margin">16dp</dimen> | ||
|
||
</resources> |
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,7 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<string name="app_name">Eruption</string> | ||
<string name="action_settings">Settings</string> | ||
|
||
</resources> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<resources> | ||
|
||
<!-- Base application theme. --> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/colorPrimary</item> | ||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
<item name="colorAccent">@color/colorAccent</item> | ||
</style> | ||
|
||
</resources> |
17 changes: 17 additions & 0 deletions
17
app/src/test/java/com/example/eruption/ExampleUnitTest.java
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.example.eruption; | ||
|
||
import org.junit.Test; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
/** | ||
* Example local unit test, which will execute on the development machine (host). | ||
* | ||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
*/ | ||
public class ExampleUnitTest { | ||
@Test | ||
public void addition_isCorrect() throws Exception { | ||
assertEquals(4, 2 + 2); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-227 KB
bin/dexedLibs/android-support-v4-dce7614befcc9c90ad8d3ffd0d3f3fef.jar
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.2.3' | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<items version="2" > | ||
|
||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-fragment/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="2a53c4f3518116b8c6aee0e477233f0f7da8616f"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-fragment-25.1.0_13019e55d7b0b629bdc6feaa3ed1aaa96618cd15.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="f02263e35e52668dd17b73bf961437e3d562b35f"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-media-compat-25.1.0_bc2a3696cce8e48b8528cc7d5ee16b257551f2bf.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="0a0ef86b7fa568a52bf6214a0326ca1f1d618da7"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-core-utils-25.1.0_2817f83a77fa4169deb4a680c448f8e9cd89e9d4.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="1630658fbc2d222b988603c27b4a4249586fbfe7"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-appcompat-v7-25.1.0_dcca5463055e7988b4bd155d003b76d723a54121.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="e79aa3d9a16f8c9f16377c0608de70a8f31e5d80"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-vector-drawable-25.1.0_aa124f5b63e6cbfdabdfaa49db5c3dfe81d66fff.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-v4/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="d7c42c80f6509b9ea4db28ca7859ffae08ec5741"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-v4-25.1.0_039f82566b03661a71fda7ef6948aed17e6c4baa.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/AndroidSDK/sdk/extras/android/m2repository/com/android/support/support-annotations/25.1.0/support-annotations-25.1.0.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="64cb6b229a8bdfd907bc8dd46839a0053e4c018d"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/support-annotations-25.1.0_57417c58b34adccc83be747f6b4ddc9d6543b196.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="aee64634871d88a419d59eb743c1258a60f19700"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-core-ui-25.1.0_36aa5929ac94099c803f8ff9d331adb12ad3c9cd.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="6fb6ac3e8d3b9013819920d9ea11f3803c4c0033"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-animated-vector-drawable-25.1.0_36c93e8bba71283f4a93e57bf70ae9c5be9bde9d.jar" /> | ||
</item> | ||
<item | ||
is-multidex="false" | ||
jar="/Users/akatkov/Documents/Eruption/app/build/intermediates/exploded-aar/com.android.support/support-compat/25.1.0/jars/classes.jar" | ||
jumboMode="false" | ||
optimize="true" | ||
revision="25.0.0" | ||
sha1="ca3c7aa31e2726a400a6e552b93cb9f63c9a1e6d"> | ||
<dex dex="/Users/akatkov/Documents/Eruption/app/build/intermediates/pre-dexed/debug/com.android.support-support-compat-25.1.0_82dd9e024cf75816c97091c8179e6e57cfad1faf.jar" /> | ||
</item> | ||
|
||
</items> |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Project-wide Gradle settings. | ||
|
||
# IDE (e.g. Android Studio) users: | ||
# Gradle settings configured through the IDE *will override* | ||
# any settings specified in this file. | ||
|
||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
|
||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
org.gradle.jvmargs=-Xmx1536m | ||
|
||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. More details, visit | ||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
# org.gradle.parallel=true |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Mon Dec 28 10:00:20 PST 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip |
Oops, something went wrong.