[android-developers] Re: package android.support.v7.appcompat does not exist
In case anyone else runs into this issue: The problem stemmed from utilizing a file from part of the support library itself. All I needed was to modify the following: import android.support.v7.appcompat.R; to import my.package.R; -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: package android.support.v7.appcompat does not exist
Something is not right about the way that ../sdk/extras/android/support/v7/appcompat/bin/classes.jar is being built: $ jar tf ../sdk/extras/android/support/v7/appcompat/bin/classes.jar META-INF/ META-INF/MANIFEST.MF .readme There's no classes in the jar !! Google, why doesn't this library build it's classes.jar? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] package android.support.v7.appcompat does not exist
Using tools 23.0.2 And latest SDK I've checked my xml resources for errors. I've run them through tidy and they are ok. I've cleaned the project. But still I'm getting errors trying to use appcompat v7 support library. here's where I have the appcompat_v7 library: $ ls ../sdk/extras/android/support/v7/appcompat/ AndroidManifest.xml build.xml libs proguard-project.txt README.txt src bin genlocal.properties project.propertiesres And here's my main project project.properties: android.library.reference.4=../sdk/extras/android/support/v7/appcompat When I run 'ant debug' it builds the appcompat library classes.jar And here's the errors I'm seeing: ListPopupWindow.java:26: error: package android.support.v7.appcompat does not exist [javac] import android.support.v7.appcompat.R; Here's the generated classes.jar and R.java: $ ls -l ../sdk/extras/android/support/v7/appcompat/bin/classes.jar -rw-rw-r--. 1 greno greno 538 Jul 19 12:24 ../sdk/extras/android/support/v7/appcompat/bin/classes.jar $ ls -l ../sdk/extras/android/support/v7/appcompat/gen/android/support/v7/appcompat/R.java -rw-rw-r--. 1 greno greno 174070 Jul 19 12:24 ../sdk/extras/android/support/v7/appcompat/gen/android/support/v7/appcompat/R.java What else is needed? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] appcompat v7: package android.support.v7.appcompat does not exist
Using tools 23.0.2 And latest SDK I've checked my xml resources for errors. I've run them through tidy and they are ok. I've cleaned the project. But still I'm getting errors trying to use appcompat v7 support library. here's where I have the appcompat_v7 library: $ ls ../sdk/extras/android/support/v7/appcompat/ AndroidManifest.xml build.xml libs proguard-project.txt README.txt src bin genlocal.properties project.propertiesres And here's my main project project.properties: android.library.reference.4=../sdk/extras/android/compatibility/v7/appcompat When I run 'ant debug' it builds the appcompat library classes.jar And here's the errors I'm seeing: ListPopupWindow.java:26: error: package android.support.v7.appcompat does not exist [javac] import android.support.v7.appcompat.R; Here's the generated classes.jar and R.java: $ ls -l ../sdk/extras/android/support/v7/appcompat/bin/classes.jar -rw-rw-r--. 1 greno greno 538 Jul 19 12:24 ../sdk/extras/android/support/v7/appcompat/bin/classes.jar $ ls -l ../sdk/extras/android/support/v7/appcompat/gen/android/support/v7/appcompat/R.java -rw-rw-r--. 1 greno greno 174070 Jul 19 12:24 ../sdk/extras/android/support/v7/appcompat/gen/android/support/v7/appcompat/R.java What else is needed? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Security Alert: You are using a highly vulnerable version of OpenSSL
I just got one of these notices as well. And I didn't think it applied. Then I did some digging and found out that sure enough one of the apps was linked to an old version of openssl. So now I'm working on getting the app updated to a newer version of openssl. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: After update to latest build tools 23.0.0: compile problems
Ok, it looks like v 23.0.0 is REALLY BROKEN. https://code.google.com/p/android/issues/detail?id=72419 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: After update to latest build tools 23.0.0: compile problems
Ok, it looks like v 23.0.0 is REALLY BROKEN. https://code.google.com/p/android/issues/detail?id=72419 On Saturday, June 28, 2014 6:21:39 PM UTC-4, greno wrote: > > $ make > ... > > * [taskdef] Could not load definitions from resource > emma_ant.properties. It could not be found.* > > -set-mode-check: > > -set-debug-files: > > -check-env: > [checkenv] Android SDK Tools Revision 23.0.0 > [checkenv] Installed at /usr/local/android-sdk-linux_x86 > > -setup: > [echo] Project Name: . > [gettype] Project Type: Android Library > > -set-debug-mode: > > -debug-obfuscation-check: > > -pre-build: > > -build-setup: > [getbuildtools] Using latest Build Tools: 20.0.0 > [echo] Resolving Build Target for > [gettarget] Project Target: Android 3.0 > [gettarget] API level:11 > [echo] -- > [echo] Creating output directories if needed... > > -compile: > [javac] Compiling 41 source files... > *[javac] ManagerProxy.java:3: error: package android.annotation does > not exist* > [javac] import android.annotation.TargetApi; > [javac] ^ > [javac] ManagerProxy.java:48: error: cannot find symbol > [javac] @TargetApi(11) > [javac] ^ > [javac] symbol: class TargetApi > [javac] location: class ManagerProxy > [javac] 2 errors > > BUILD FAILED > /usr/local/android-sdk-linux_x86/tools/ant/build.xml:720: The following > error occurred while executing this line: > /usr/local/android-sdk-linux_x86/tools/ant/build.xml:734: Compile failed; > see the compiler error output for details. > > Total time: 2 seconds > > > And I do not see a > /usr/local/android-sdk-linux_x86/tools/support/annotations.jar > > > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] After update to latest build tools 23.0.0: compile problems
$ make ... * [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.* -set-mode-check: -set-debug-files: -check-env: [checkenv] Android SDK Tools Revision 23.0.0 [checkenv] Installed at /usr/local/android-sdk-linux_x86 -setup: [echo] Project Name: . [gettype] Project Type: Android Library -set-debug-mode: -debug-obfuscation-check: -pre-build: -build-setup: [getbuildtools] Using latest Build Tools: 20.0.0 [echo] Resolving Build Target for [gettarget] Project Target: Android 3.0 [gettarget] API level:11 [echo] -- [echo] Creating output directories if needed... -compile: [javac] Compiling 41 source files... *[javac] ManagerProxy.java:3: error: package android.annotation does not exist* [javac] import android.annotation.TargetApi; [javac] ^ [javac] ManagerProxy.java:48: error: cannot find symbol [javac] @TargetApi(11) [javac] ^ [javac] symbol: class TargetApi [javac] location: class ManagerProxy [javac] 2 errors BUILD FAILED /usr/local/android-sdk-linux_x86/tools/ant/build.xml:720: The following error occurred while executing this line: /usr/local/android-sdk-linux_x86/tools/ant/build.xml:734: Compile failed; see the compiler error output for details. Total time: 2 seconds And I do not see a /usr/local/android-sdk-linux_x86/tools/support/annotations.jar -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Trivial Drive: Various errors
So today our Trivial Drive app starts working. However, we are seeing a number of errors. First is when we make a purchase. The purchase succeeds but at the very end it pops an error message saying signature verification error. Then when we reload the app it gets signature verification error trying to query the inventory of items owned. But it does seem to know what is owned however because when you try to buy gas twice it comes back with error that the item is already owned. So I drive and then purchase an infinite gas subscription which succeeds but still gives me the signature verification error. The gas tank shows full now so I try and drive some more. But it pops an error msg saying Oh no your out of gas, Try buying some. But when I try to Buy Gas it says item already owned so the app is now stuck. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Trivial Drive: ERROR: User is not eligible for this purchase
This morning I republish the APK again and wait. And today it works finally. So everything was right. On Tuesday, November 19, 2013 12:18:36 AM UTC-5, greno wrote: > > So now I look on testers phone and their are two Google Accounts > > First account is his previous primary non-gmail account (now secondary) > Second account is his brand new primary gmail account. > > So is this right? These both link to the same Google Account though so > aren't they the same thing? Can the old non-gmail account be deleted or > will that mess up the phone and all the contacts, data, etc? > > > > On Monday, November 18, 2013 11:07:59 PM UTC-5, greno wrote: >> >> Having spent the better part of 3 days on this with no luck at all >> getting this Trivial Drive app to work I thought I would post what I've >> done and see if anyone can see what could be amiss. >> >> Downloaded the Google Play extras and built the Trivial Drive app with >> the proper public key. >> >> Signed the APK. >> >> Under my developer account, created a project Trivial Drive and uploaded >> the signed APK. >> >> Next, completed all sections until I had 3 green checkmarks. >> >> Created the 3 product ID's (2 managed, 1 subscription) and published >> them. APK still in alpha status. Google says this is valid testing state. >> >> Added a tester from one of my google groups to alpha. >> >> Tester added a gmail acct to his Google acct so has valid testing account. >> >> Tester downloads APK and installs it. >> >> Tester tries to Buy Gas and receives ERROR: User is not eligible for >> this purchase. Tester has had no problem making purchases on Play Store. >> >> And we've been looping through republishing APK and waiting 2-3 hours and >> retesting for days without any change in this ERROR. >> >> According to everything I can find to read this should be working. >> >> Any suggestions? >> >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Trivial Drive: ERROR: User is not eligible for this purchase
So now I look on testers phone and their are two Google Accounts First account is his previous primary non-gmail account (now secondary) Second account is his brand new primary gmail account. So is this right? These both link to the same Google Account though so aren't they the same thing? Can the old non-gmail account be deleted or will that mess up the phone and all the contacts, data, etc? On Monday, November 18, 2013 11:07:59 PM UTC-5, greno wrote: > > Having spent the better part of 3 days on this with no luck at all getting > this Trivial Drive app to work I thought I would post what I've done and > see if anyone can see what could be amiss. > > Downloaded the Google Play extras and built the Trivial Drive app with the > proper public key. > > Signed the APK. > > Under my developer account, created a project Trivial Drive and uploaded > the signed APK. > > Next, completed all sections until I had 3 green checkmarks. > > Created the 3 product ID's (2 managed, 1 subscription) and published them. > APK still in alpha status. Google says this is valid testing state. > > Added a tester from one of my google groups to alpha. > > Tester added a gmail acct to his Google acct so has valid testing account. > > Tester downloads APK and installs it. > > Tester tries to Buy Gas and receives ERROR: User is not eligible for this > purchase. Tester has had no problem making purchases on Play Store. > > And we've been looping through republishing APK and waiting 2-3 hours and > retesting for days without any change in this ERROR. > > According to everything I can find to read this should be working. > > Any suggestions? > > > > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Trivial Drive: ERROR: User is not eligible for this purchase
Having spent the better part of 3 days on this with no luck at all getting this Trivial Drive app to work I thought I would post what I've done and see if anyone can see what could be amiss. Downloaded the Google Play extras and built the Trivial Drive app with the proper public key. Signed the APK. Under my developer account, created a project Trivial Drive and uploaded the signed APK. Next, completed all sections until I had 3 green checkmarks. Created the 3 product ID's (2 managed, 1 subscription) and published them. APK still in alpha status. Google says this is valid testing state. Added a tester from one of my google groups to alpha. Tester added a gmail acct to his Google acct so has valid testing account. Tester downloads APK and installs it. Tester tries to Buy Gas and receives ERROR: User is not eligible for this purchase. Tester has had no problem making purchases on Play Store. And we've been looping through republishing APK and waiting 2-3 hours and retesting for days without any change in this ERROR. According to everything I can find to read this should be working. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] DEX: how to set CollisionPolicy.KEEP_FIRST?
I wanted to do a quick patch for a library jar so I just put the class patch source under the same path as in the library jar in my project src tree. The patch itself compiles. But when I try to package I get a DexMerger error: [dx] Merged dex A (500 defs/876.3KiB) with dex B (400 defs/362.4KiB). Result is 900 defs/1516.1KiB. Took 0.1sUNEXPECTED TOP-LEVEL EXCEPTION: [dx] [dx] com.android.dex.DexException: Multiple dex files define Lcom/some/path/PatchFile$1; [dx] at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:593) [dx] at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:551) [dx] at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:532) [dx] at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:169) [dx] at com.android.dx.merge.DexMerger.merge(DexMerger.java:187) [dx] at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439) [dx] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:287) [dx] at com.android.dx.command.dexer.Main.run(Main.java:230) [dx] at com.android.dx.command.dexer.Main.main(Main.java:199) [dx] at com.android.dx.command.Main.main(Main.java:103) It looks like DexMerger is using CollisionPolicy.FAIL and I would like to set CollisionPolicy.KEEP_FIRST so it would use my new verson of the class. How can I set this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: actionbarsherlock fragment icsadapterview onitemselected not called
Got the listener working by using an inline anonymous listener. On Wednesday, November 13, 2013 9:39:56 PM UTC-5, greno wrote: > > I'm using as ActionBarSherlock spinner in a fragment. > > import android.widget.AdapterView; > import android.widget.AdapterView.OnItemSelectedListener; > import android.widget.ArrayAdapter; > > public class Tab1 extends SherlockFragment implements > IcsAdapterView.OnItemSelectedListener > ... > spinner = (IcsSpinner) view.findViewById(R.id.spinner); > adapter = new ArrayAdapter( getActivity(), R.layout.sherlock_spinner_item, > nameArray ); > spinner.setAdapter(adapter); > > @Override > public void onItemSelected(IcsAdapterView parent, View view, > int pos, long id) { > Log.v(TAG,"spinner item selected"); > } > > @Override > public void onNothingSelected(IcsAdapterView parent) { > } > > Spinner is like this in xml: > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > > android:textSize="14sp" > > android:prompt="@string/spinner" > /> > > > > When I select an item in the spinner all that shows in the log is this: > > W/InputMethodManagerService( 378): Window already focused, ignoring focus > gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41dc7838 > attribute=null, token = android.os.BinderProxy@415afdb0 > > With every selection in the spinner I get one of these warnings but the > onItemSelected is never called. Log message never shows. > > Help, Suggestions? > > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] actionbarsherlock fragment icsadapterview onitemselected not called
I'm using as ActionBarSherlock spinner in a fragment. import android.widget.AdapterView; import android.widget.AdapterView.OnItemSelectedListener; import android.widget.ArrayAdapter; public class Tab1 extends SherlockFragment implements IcsAdapterView.OnItemSelectedListener ... spinner = (IcsSpinner) view.findViewById(R.id.spinner); adapter = new ArrayAdapter( getActivity(), R.layout.sherlock_spinner_item, nameArray ); spinner.setAdapter(adapter); @Override public void onItemSelected(IcsAdapterView parent, View view, int pos, long id) { Log.v(TAG,"spinner item selected"); } @Override public void onNothingSelected(IcsAdapterView parent) { } Spinner is like this in xml: When I select an item in the spinner all that shows in the log is this: W/InputMethodManagerService( 378): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41dc7838 attribute=null, token = android.os.BinderProxy@415afdb0 With every selection in the spinner I get one of these warnings but the onItemSelected is never called. Log message never shows. Help, Suggestions? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] NDK r7b: crtbegin_so.o: No such file
I have this linking problem with ndk r7b: ...arm-linux-androideabi/bin/ld: crtbegin_so.o: No such file: No such file or directory I have not found a solution yet. Any ideas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] custom rules not working
I created a file custom_rules.xml and added a rule But when I run ant it gives me this error: custom_rules.xml:11: Unexpected element "{} target" {antlib:org.apache.tools.ant}target If I place the rule in the build.xml it works fine. So how do I get it to work in the custom_rules.xml file which gets imported by build.xml? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en