I am using the exact design example google place
https://github.com/googlesamples/android-play-places/tree/master/PlaceComplete
I added an api key with the package name and my SHA1 to generate the key
when I run the project via Android Studio on emulators Android works perfectly research.
I generate an apk and install on my device or BlueStacks I get this error statusCode=unknown status code=9000
Could someone tell me why this error only on my devices?
Related
i work for a key account and i'm a beginner in react native. I work on a PC and i use expo when i want to build an ipa for iOS . It's very easy for a development version but i'm stucked when i build for production.
I have the following error :
validateProvisioningProfile: provisioning profile is not associated with uploaded distribution certificate
The message seems very clear but it's not.
Actually, i've a dev account and i have to use a distribution profile from my organisation. My dev account is part of my organisation and i thought it was enough to pass the test but it's not. Help would be very appreciated. Thanks in advance.
You need to get Mac (not PC), open apple developer account and run in the project folder:
expo build:ios
you will get a url with an option to download ipa file
Our Automation QA team require a simulator build of the test app. Getting below error while building:
Is It Possible to Build and Distribute Simulator builds in AppCenter?
I have contacted Appcenter's Helpdesk. Following is their response :
You can build and distribute apps in App Center that can run on simulators and also on real devices.
For Android, if the build has been correctly signed, the APK can be installed on a real device and deployed to the Play Store. If the build has not been signed, the APK can be run on an emulator.
For iOS simulator, it is required for you to properly code sign the app. You can learn more about code signing for iOS here: https://learn.microsoft.com/en-us/appcenter/build/ios/code-signing
Then please see the steps below to set up code signing when building your app in App Center:
To sign the builds produced from a branch, enable code signing in the configuration pane and upload a provisioning profile (.mobileprovision) and a valid certificate (.p12), along with the password for the certificate.
Download the ipa file to install on a simulator.
I'm trying to publish my Ionic 4 app into Play Store through Android Studio and the option to build to a signed APK is missing. I know there are similar questions to mine already asked here, but their answers are directed for previous versions. I have spent many hours searching through websites and I have typed lots of command prompt commands, such as
ionic cordova build android
and
cordova build --release android
I went to build and did the signed APK a few times, and it gave me a small window about "required updates."
I agreed, then it restarted, and after I went back to build and the option was missing! I tried installing and reinstalling Android Studio. I want to be able to create a signed APK and publish my app to Play Store. Where is the missing option? Please help me figure out how to turn on this feature in my Android Studio version 3.3.2.
Thanks to CodeChanger. Run the emulator, then restart the app. The Signed APK option will appear.
I have already developed a React native application on my mac book, this is myfirst application. I want to deploy it to iPhone so that I can test it. I don't want to put it on appstore yet. I am not sure how to compile the application and get it ready to put it on iPhone. I tried this web site
https://www.diawi.com/, but not sure which .ipa or a.pk file, I need to upload. I can also try using expo, but not sure how to use it. Can anyone give me step by step instruction on how to upload this application on iPhone.
any help will be greatly appreciated.
For iPhone
For react-native-init you will probably need Apple developer account to test your app on your phone
Since you are using react-native-init, You should checkout this article by Facebook
https://facebook.github.io/react-native/docs/running-on-device
In the second point, it says Register for an Apple developer account if you don't have one yet
For create-react-native-app you need to do following
Download expo client from App store
Scan the QR code expo generate when you run your app using terminal (npm run start in terminal )
Note: Both Laptop and your phone should be on the same network
According to this thread, You can't use expo with react-native-init but alternatively you can create an expo project using create-react-native-app and then copy, paste files from your init project
For Android
For running your App on Android, You can directly generate/build an apk, send it to your device and just open it to see how it works (In Android you don't need a console or developer account to run your app)
Again, Open this link https://facebook.github.io/react-native/docs/running-on-device
And click on Android Tab to see how you can generate an Apk
I referred to the tutorial on Android Pay on site
Androi Pay integration tutorial
and able to execute it and get the full wallet. This Biker app is compiled with build tool v22.0.1 and Google play services library v8.1.0. But my application requires build tool version 23.0.2 and Google play service library v8.4.0. Full wallet is not received in the Biker application when I do these two modifications to build.gradle:
Build tool from v22.0.1 to 23.0.2
Google play service wallet library from v8.1.0 to v8.4.0
I get result code 1 on activity result when the full wallet is requested.
Also 'Change card/address' button on the wallet fragment fails to respond with these modifications in build.gradle. I have updated the Android SDK. Is there anything I am missing?
Edit 02/16/2016
Now I referred the latest Android Pay source from Github that has latest build tool (v23.0.2) and Google Play services library (v8.4.0). I can't run the application in Android Pay mode as I don't have cards that are supported by Android Pay. I did not find any workaround for introducing mock cards in Android Pay to work with Wallet mode ENVIRONMENT_TEST
After modifying the WalletFragmentStyle to
WalletFragmentStyle walletFragmentStyle = new WalletFragmentStyle()
.setBuyButtonText(BuyButtonText.BUY_WITH_GOOGLE)
.setBuyButtonAppearance(BuyButtonAppearance.CLASSIC)
.setBuyButtonWidth(Dimension.MATCH_PARENT);
I get the same response in onActivityResult with RESPONSE CODE as 1 when requesting for Full wallet. The error number is 10. I am unable to trace what error 10 corresponds to.
You need to click 'Install repository and sync project' after encountering the error. This issue will be fixed after installing all the latest versions of build tools and other updates.