File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # I have being unable to find Google's repository from where Android Studio gets the wear
4
+ # aar files. People have been trying to solve this in relation to using Eclipse to build
5
+ # wear apps, for example:
6
+ # http://stackoverflow.com/questions/27913902/dependencies-from-android-gradle-build-or-how-to-build-an-android-wear-app-wit
7
+ # However, both JCenter and Maven Central don't seem to hold any wearable pacakges:
8
+ # https://jcenter.bintray.com/com/google/android/
9
+ # https://search.maven.org/#search%7Cga%7C1%7Cwearable
10
+ # So far, only found two odd repostories with up-to-date versions of the aar packages:
11
+ # http://uiq3.sourceforge.net/Repository/com/google/android/support/wearable/
12
+ # http://mvn.sibext.com/com/google/android/support/wearable/
13
+ # (one is maintained by a company in Siberia)
14
+
15
+ # Usage:
16
+ # call with location of the Android SDk, e.g.:
17
+ # ./compat-update.sh ~/code/android/sdk
18
+
19
+ sdk=$1
20
+
21
+ pushd $sdk /extras/android/support/v7
22
+
23
+ # Exclude the project.properties files because Processing will regenerate it when
24
+ # building the project
25
+ zip -r appcompat.zip appcompat --exclude * project.properties*
26
+
27
+ popd
28
+
29
+ mv $sdk /extras/android/support/v7/appcompat.zip ../mode
30
+
31
+ # Done
32
+ echo " "
33
+ echo " Done!"
Original file line number Diff line number Diff line change 1
1
Collection of utility scripts that I put here for the lack of a better place.
2
2
3
+ compat-update.sh: generates the appcompat zip file containing the appcompat v7 package
4
+ found in the Android SDK's extras folder
5
+
3
6
perm-parse.py: generates the array of permissions for a given SDK level, to be pasted in
4
7
Permissions.java
5
8
You can’t perform that action at this time.
0 commit comments