Ok well I've resolved most of my issues.  I have moved to testing on
an external device and I can run all the AndroidTests and CoreTests.

When running FrameworkTestTests I run into the VerifyError again:

$ adb shell am instrument -w com.android.frameworktest.tests/
android.test.InstrumentationTestRunner

com.android.frameworktest.drawable.DrawableBgMinSizeTest:............
com.android.frameworktest.drawable.MutateDrawableTest:INSTRUMENTATION_RESULT:
shortMsg=com.android.frameworktest.drawable.MutateDrawable
INSTRUMENTATION_RESULT: longMsg=java.lang.VerifyError:
com.android.frameworktest.drawable.MutateDrawable
INSTRUMENTATION_CODE: 0


I/ActivityManager( 1665): Starting activity: Intent
{ action=android.intent.action.MAIN flags=0x10000000 comp=
{com.android.frameworktest/
com.android.frameworktest.drawable.MutateDrawable} }
E/dalvikvm( 1986): Could not find method
android.graphics.drawable.Drawable.mutate, referenced from method
com.android.frameworktest.drawable.MutateDrawable.onCreate
W/dalvikvm( 1986): VFY: unable to resolve virtual method 40: Landroid/
graphics/drawable/Drawable;.mutate ()Landroid/graphics/drawable/
Drawable;
W/dalvikvm( 1986): VFY:  rejecting opcode 0x6e at 0x0041
W/dalvikvm( 1986): VFY:  rejected Lcom/android/frameworktest/drawable/
MutateDrawable;.onCreate (Landroid/os/Bundle;)V
W/dalvikvm( 1986): Verifier rejected class Lcom/android/frameworktest/
drawable/MutateDrawable;
W/dalvikvm( 1986): Class init failed in newInstance call (Lcom/android/
frameworktest/drawable/MutateDrawable;)
D/AndroidRuntime( 1986): Shutting down VM


On Apr 16, 1:12 pm, frank <[email protected]> wrote:
> Thanks for your reply.
>
> I did a repo sync from the top of the android tree:
>
> git://android.git.kernel.org/platform/manifest.git
>
> i ran the following to build the source:
>
> 1. source ./build/envsetup.sh
> 2. choosecombo 2 1 sim eng
> 3. make
>
> after installing AndroidTests.apk on the simulator this is the problem
> I ran into.
>
> Thanks,
> Frank
>
> On Apr 15, 4:35 pm, fadden <[email protected]> wrote:
>
> > On Apr 15, 1:05 pm, frank <[email protected]> wrote:
>
> > > I installedAndroidTests.apk using adb install.
> > [...]
> > > W/dalvikvm(  276): VFY: unable to resolve interface method 131:
> > > Landroid/content/pm/IPackageManager;.freeStorageAndNotify (JLandroid/
> > > content/pm/IPackageDataObserver;)V
> > > W/dalvikvm(  276): VFY:  rejecting opcode 0x72 at 0x0015
> > > W/dalvikvm(  276): VFY:  rejected Lcom/android/unit_tests/
> > > AppCacheTest;.invokePMFreeApplicationCache (J)Z
> > > W/dalvikvm(  276): Verifier rejected class Lcom/android/unit_tests/
> > > AppCacheTest;
>
> > The method
> > com.android.unit_tests.AppCacheTest.invokePMFreeApplicationCache tried
> > to find the interface method freeStorageAndNotify(long,
> > IPackageDataObserver) in android.content.pm.IPackageManager, but the
> > method was not found.
>
> > The interface is generated from frameworks/base/core/java/android/
> > content/pm/IPackageManager.aidl and is part of framework.jar.  Are you
> > building the framework from your own sources?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to