• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple Notepad Application for Android OS


Commit MetaInfo

Revision81b6eb51c5938d522958e6062ac4d1ab136a6179 (tree)
Zeit2012-09-12 16:38:23
AutorMasahiko, SAWAI <say@user...>
CommiterMasahiko, SAWAI

Log Message

proguard を通すと起動しなくなっていたのを修正

Ändern Zusammenfassung

Diff

--- a/notepad-app-level-11/pom.xml
+++ b/notepad-app-level-11/pom.xml
@@ -65,7 +65,6 @@
6565 </sdk>
6666 <proguard>
6767 <skip>true</skip>
68- <config>proguard.conf</config>
6968 </proguard>
7069 <extractDuplicates>true</extractDuplicates>
7170 </configuration>
@@ -192,7 +191,7 @@
192191 </sign>
193192 <proguard>
194193 <skip>false</skip>
195- <config>proguard.conf</config>
194+ <config>proguard.cfg</config>
196195 </proguard>
197196 </configuration>
198197 </plugin>
--- a/notepad-app/pom.xml
+++ b/notepad-app/pom.xml
@@ -65,7 +65,6 @@
6565 </sdk>
6666 <proguard>
6767 <skip>true</skip>
68- <config>proguard.conf</config>
6968 </proguard>
7069 <extractDuplicates>true</extractDuplicates>
7170 </configuration>
@@ -192,11 +191,6 @@
192191 <proguard>
193192 <skip>false</skip>
194193 <config>proguard.cfg</config>
195- <!--
196- <config>proguard.cfg</config>
197- <config>proguard-android.txt</config>
198- <config>${env.ANDROID_HOME}/tools/proguard/proguard-android.txt</config>
199- -->
200194 </proguard>
201195 </configuration>
202196 </plugin>
--- a/notepad-app-level-11/proguard.conf
+++ b/notepad-app/proguard.cfg
@@ -1,11 +1,29 @@
11 # Configuration for ProGuard
22 # From http://proguard.sourceforge.net/index.html#/manual/examples.html#androidapplication
33
4+-dontusemixedcaseclassnames
5+-dontskipnonpubliclibraryclasses
6+-verbose
7+
48 -dontpreverify
5--repackageclasses ''
6--optimizations !code/simplification/arithmetic
9+
10+# Optimization is turned off by default. Dex does not like code run
11+# through the ProGuard optimize and preverify steps (and performs some
12+# of these optimizations on its own).
13+## optimize : off
14+#-dontoptimize
15+## optimize : on
16+-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
17+-optimizationpasses 5
18+-allowaccessmodification
19+##
20+
721 -keepattributes *Annotation*
822
23+-keep public class com.google.vending.licensing.ILicensingService
24+-keep public class com.android.vending.licensing.ILicensingService
25+-keep public interface com.android.vending.licensing.ILicensingService
26+
927 -keep public class * extends android.app.Activity
1028 -keep public class * extends android.app.Application
1129 -keep public class * extends android.app.Service
@@ -35,8 +53,6 @@
3553 public static <fields>;
3654 }
3755
38--keep public interface com.android.vending.licensing.ILicensingService
39-
4056 -keepclasseswithmembernames class * {
4157 native <methods>;
4258 }
@@ -46,7 +62,7 @@
4662 public static ** valueOf(java.lang.String);
4763 }
4864
49-# Removes all calls to Log. Delete the methods you want to keep.
65+# Removes all calls to Log. Delete the methods if you want to keep.
5066 -assumenosideeffects class android.util.Log {
5167 public static int v(...);
5268 public static int d(...);
@@ -56,7 +72,7 @@
5672 public static int wtf(...);
5773 }
5874
59--assumenosideeffects class org.routine_work.android_r.utils.Log{
75+-assumenosideeffects class org.routine_work.utils.Log{
6076 public static int v(...);
6177 public static int d(...);
6278 public static int i(...);