Android SDK is Unavailable Upon First Startup of Android Studio - android

I've been trying to install Android Studio for use in creating a React Native app using Expo. As I try to install Android Studio, and run it for the first time, I arrive at the following screen:
Keep in mind, I have not yet separately installed an SDK (I'm unsure of how to).
I click the "Next" button and come to this screen:
I am unsure of where to go from here. Do I install Android SDK, and if so, how?
EDIT: If I skip through these steps, clicking "Next" until I go to the main page, and I attempt to start a new project, this comes up:
Any help is appreciated. Thank you.

I was on the company computer and had the VPN connected. Disconnected the VPN and it worked fine.

I think there is an issue with your network.
Actually you should be able to see a list of all the available sdks as you can see in the image I attached.
screenshot of settings screen

Related

Xamarin Android app can't be deployed to the VS2019 emulator

I have been trying to solve this for a while now, I followed this guide up to this point: https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup but once I click on the Android Emulator I get this message
To which I click Install, but nothing happens and it's an endless loop, right after that if I click on NEW, I have no device recognized.
Am I missing an installation process? Knowing that I followed the Xamarin guide literally.
Thank you.

How to integrate Unity app into a native android studio project

I want to integrate a Unity application into android studio project that opens up as an instance upon button click. I am entirely new to android studio, so please keep that in mind when you provide a solution.
My unity app is ready to deploy. Now i just want to create an app on android studio that simply has a button which upon clicking will open the unity app as an instance. If i can do this, i would be able to integrate my app into any other pre-existing android projects without making another version of my app from scratch in android studio.
Thanks in advance.
Unfortunately it is not possible to integrate an APK/bundle into an android studio project activity and Unity compile a closed source APK/bundle only so it is currently not possible.
You can broadcast one app to open with a button on another app but that will require the user to install both apps.
it might be possible on rooted phones but it will probably be pretty complex to achieve
Another elegant solution would be to use something like firebase's dynamic links - that is , your button would open a link, if the user already have the app installed on the device it would open the app (and navigate to wherever) if not, it would open your app's play store download page.

Unable to Load SDK Information Android SDK Manager in Visual Studio 2017

I am running Visual Studio Enterprise 2017 (Version 15.5.7). I am coming from a corporate network and when I try to open the Android SDK Manager, I see the screenshot below with the error - "Loading SDK component information failed. Please retry".
When I connect my machine to a connection outside of our corporate network (on LTE hotspot), I am able to load and view that screen without problem.
I suspect our corporate firewall is blocking something. We tried tracing connections coming out of my machine while trying to open that screen and hitting retry. We were unable to see anything.
Does anyone know where I can find more detailed logs on this error on my side? Or what URL specifically it may be trying to reach out to? I need to know specifically which URL it's trying to access to get the networking folks to create the exception.
Thanks!
Change the repository to Google by clicking "settings icon" beside 'apply changes' button.

Viewing Logcat with Android app in Chrome using ARC Welder

I am trying to get our Android app to run under Chrome using ARC Welder on a Mac. The app is crashing soon after startup and I'm trying to look at the Logcat to see what is going on. I have found the following instructions in another thread that discusses how to do this.
Open your debug APK in ARC Welder and run it
Open logcat in Android Studio, (or what ever tool you normally use to view logcat).
Open Chrome and type "chrome://inspect/#apps" in the address bar
Hopefully you see your App name listed, click the 'inspect' link for your app.
In the Javascript Console that appears type "plugin.shell('adbd')" and press enter.
Now go back to Android Studio and you should see a load of log messages in the logcat, filter by your app name and hopefully you are good to go.
My problem is after step #3 I don't see my app listed when going to "chrome://inspect/#apps". I only see the ARC Welder app listed (and sometimes even that is not there). Hence there is no "inspect" link to click.
Any idea what I'm doing wrong? How can I view the app's Logcat when running under ARC Welder?
I did finally get this figured out. The app appears on the chrome://extensions page and it is there that I can "inspect" it. It also appears that you can only do a plugin.shell('logcat') while the app is actually running. So if the app is crashing at startup, you need to put a delay in so you can enter this command before the crash actually happens.

facebooksdk's FBAndroid-2.0.apk are we supposed to install this along with our app?

First, let me apologize if this is a repeat question. I did a search but didn't see a similar one. My question is this. Are we supposed to somehow always include FBAndroid-2.0.apk alongside the app that we develop for android that needs to use Facebook? So let's say I put MyCoolAppWithFacebook.apk on GooglePlay, am I supposed to package it together with FBAndroid-2.0.apk ? If so how can this be done? The facebook developer site have you install it using 'adb' too, as in 'adb install'. If I was to put FBAndroid-2.0.apk inside MyCoolAppWithFacebook/bin folder, it gets deleted every time I do a clean from Eclipse. Maybe I am missing something. Thanks for any pointers.
No. They have you install it on the simulator for testing purposes. When a user attempts to use facebook from your app the facebook SDK will either open the native facebook app (if it is installed on the users device) or it will open the browser and handle the authentication through their website.

Categories

Resources