Support for 1.0_r2?

2 views
Skip to first unread message

Coder One

unread,
Jan 13, 2009, 1:27:57 AM1/13/09
to Masa Developers
It seems like something is hardcoded to use the 0.9 version. It would
be great if the project could be updated to support 1.0_r2. Perhaps,
move the hardcoded part into a config file of some sort?

Thanks...

Shane Isbell

unread,
Jan 13, 2009, 1:32:46 AM1/13/09
to masa-de...@googlegroups.com
You can just install 1.0 as 0.9, everything will work. Now that android.jar is open-source, it's time to get it versioned and loaded into a maven repo.

Coder One

unread,
Jan 13, 2009, 10:51:53 PM1/13/09
to Masa Developers
Good idea :) This is a cool project!!!

On Jan 12, 10:32 pm, Shane Isbell <shane.isb...@gmail.com> wrote:
> You can just install 1.0 as 0.9, everything will work. Now that android.jar
> is open-source, it's time to get it versioned and loaded into a maven repo.
>

Coder One

unread,
Jan 13, 2009, 11:58:57 PM1/13/09
to Masa Developers
I got the following errors...strange...using "ant" on build.xml (by
activitycreator) would seem to work fine without the signing error...


mvn install -Dmasa.debug

[INFO] apkbuilder [C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.apk, -z, C:\myandroids\andtest\target\maven-tes
t-1.0.1-sandbox.ap_, -f, C:\myandroids\andtest\target\classes.dex, -
rf, C:\myandroids\andtest\src]
[ERROR] Using keystore: C:\Documents and Settings\xyz\Local Settings
\Application Data\Android\debug.keystore
[INFO] [adb:install]
[INFO] adb [install, -r, C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.apk]
[ERROR] error: device not found
[INFO] [install:install]
[INFO] Installing C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.jar to C:\Documents and Settings\xyz\.m2\repo


On Jan 12, 10:32 pm, Shane Isbell <shane.isb...@gmail.com> wrote:
> You can just install 1.0 as 0.9, everything will work. Now that android.jar
> is open-source, it's time to get it versioned and loaded into a maven repo.
>

Coder One

unread,
Jan 14, 2009, 12:21:11 AM1/14/09
to Masa Developers
I installed the real 0.9 and got passed the signing issue, but then, I
got an "[ERROR] error: device not found"...arghhh..so close...yet so
far away...

Could you take a look and point me in the right direction? Thanks...

C:\myandroids\andtest>mvn install -Dmasa.debug
[INFO] Scanning for projects..
[INFO]
------------------------------------------------------------------------
[INFO] Building maven-test
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [aidl:generate]
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [aapt:compile]
android/android/0.9_beta/android-0.9_beta.jar
[INFO] aapt [package, -m, -J, C:\myandroids\andtest\target\generated-
sources, -M, C:\myandroids\andtest\AndroidManifest.
xml, -S, C:\myandroids\andtest\res, -I, C:\Documents and Settings\xyz
\.m2\repository\android\android\0.9_beta\android
-0.9_beta.jar]
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to C:\myandroids\andtest\target
\classes
[INFO] [jar:jar]
[INFO] Building jar: C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.jar
[INFO] [dx:dx]
[INFO] dx [--dex, --output=C:\myandroids\andtest\target\classes.dex, C:
\myandroids\andtest\target\android-classes]
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [aapt:package]
[INFO] aapt [package, -f, -M, C:\myandroids\andtest
\AndroidManifest.xml, -S, C:\myandroids\andtest\res, -I, C:\Documents
and Settings\xyz\.m2\repository\android\android\0.9_beta
\android-0.9_beta.jar, -F, C:\myandroids\andtest\target\mave
n-test-1.0.1-sandbox.ap_]
[INFO] [apkbuilder:build]
[INFO] apkbuilder [C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.apk, -z, C:\myandroids\andtest\target\maven-tes
t-1.0.1-sandbox.ap_, -f, C:\myandroids\andtest\target\classes.dex, -
rf, C:\myandroids\andtest\src]
[INFO] [adb:install]
[INFO] adb [install, -r, C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.apk]
[ERROR] error: device not found
[INFO] [install:install]
[INFO] Installing C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.jar to C:\Documents and Settings\xyz\.m2\repo
sitory\org\jvending\masa\maven-test\1.0.1-sandbox\maven-test-1.0.1-
sandbox.apk
[INFO] Installing C:\myandroids\andtest\target\maven-test-1.0.1-
sandbox.jar to C:\Documents and Settings\xyz\.m2\repo
sitory\org\jvending\masa\maven-test\1.0.1-sandbox\maven-test-1.0.1-
sandbox.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Jan 13 21:18:27 PST 2009
[INFO] Final Memory: 14M/25M
[INFO]
------------------------------------------------------------------------



On Jan 12, 10:32 pm, Shane Isbell <shane.isb...@gmail.com> wrote:
> You can just install 1.0 as 0.9, everything will work. Now that android.jar
> is open-source, it's time to get it versioned and loaded into a maven repo.
>

Coder One

unread,
Jan 14, 2009, 12:52:52 AM1/14/09
to Masa Developers
So, I forgot to start the emulator...:)
Reply all
Reply to author
Forward
0 new messages