Trouble pushing android studio project to GitHub - android

I've literally spent days trying to figure out whats going on, but no matter what project I try to push/share to GitHub when I select the 'share project on GitHub' button under VCS --> Import into version control --> Share project on GitHub this dialog box will pop up:
So like I said, this occurred in one project so I closed and attempted to do the same from a newer project, however I keep getting the same result. The project that it keeps referring to was built in Xcode for the iPhone not within Android Studio. Why does this keep happening?
Thanks in advance.

Related

Android side of a Flutter project showing error

I have a Flutter project where, all of a sudden, without me doing anything special as far as I can remember..the Android side has started to show an error, and I am totally lost, I have no idea at all of what is wrong or why that happened.
That is what I see when I open the android folder, the MainActivity on the flutter project on android studio:
I have tried calling flutter clean, restart/invalidate cache, gradle clean...and so far nothing works.
The weird thing is that the project actually runs in the emulator without any problem. And also, if I open the Android part independently on Android Studio i don't see any error.
Anyone had that before?
Android Studio version 3.3.1
Solutions of this answer do not work.
** ----- NOTE ----- **
The problem here can be (not sure at all maybe someone else can help here) that I am using a flutter package called ImagePicker, which after some code investigation, it turns out that it is using some AndrodX imports....and...as far as I am aware of...Flutter is not yet compatible with AndroidX.
But i need someone else to confirm that in order to post a solution.
This error is not really an error. This happens because android studio is set to read and edit dart not java. In order to edit the android side of a flutter project, you need to click on the android folder -> go to the flutter option -> click 'open in Android Studio'.
This will then allow you to edit the android side of your project.
Set Configure to the Android project SDK of flutter application
Step by Step
Click on File -> Project settings then select appropriate API level as per your project will solve your issue

how could I import project from eclipse to android studio

as you can see, this error comes from AndroidManifest.xml, it occurs in android studio, I looked up a lot information, and don't know how it causes, I appreciate you if you could give me a hand.
the other thing I want to add, the activity showed illeagal in this file.
It got simpler in newer versions of android studio.
Just close your current project by File-> Close Project. After doing this the Screen shot shown/(similar to) below will appear.
Select the rounded circle highlighted option. Which says You can import projects from Eclipse ADT.
After that select your project from directory and wait untill the build finishes.

Working the same Android Studio project from different workstations

How can I work an Android studio project from work and later at home without having configuration issues, shall I use something like dropbox ?
You will be delighted to know that there wont be any configuration issues at all.
Android Studio Projects ar portable.
You just have to Copy the project from office. Bring it at home. And import it in your Android Studio by clicking Import existing android studio project. 1st time it will show an error message, mentioning that the sdk directory didn't matched. But don't worry, clicking OK button will solve the issue it self.
Just make sure your sdk manager is up to date in both machine of home and office.

Eclipse ADT stuck at 30% building workspace. Clean and build is not working

My eclipse ADT is suddenly freezing after building workspace 30% with no additional information. I already tried to switch workspace and import only the google play library and a simple project, but it still stops in building workspace. Already tried to
-disable automatic build -> clean all projects -> build all projects after clean
and it's still stuck at 30%. Can anyone give me a hand in this?
EDIT: now I see that the problem is that it´s stuck on "invoking Android Pre Compiler on google_play_services_lib". does this help with knowing my problem?
It's not really an answer to your problem, but if you don't have the requirement to use Eclipse and have some time at hand you might want to give Android Studio a try. It's an IntelliJ IDEA based, custom IDE made specifically for Android development.

how do i add the facebook module to android studio

hi i have been trying to add the facebook sdk to my project in android studio its in my file tree and i can use it limitedly, eg; i can use a facebook login button but if i run the app it crashes at start up, i think i have to import the module for it but android studio wont/cant find it, im still new to android so please tell me if im just missing something simple, here are some screen shots of me going through the motions,
by right clicking on the project and pressing f4 i go to module settings
from here i select my project, go to the dependencies tab and select the + from the top right corner
,
but this is what i get
so my question is should the libraries:facebook be here or am i in the wrong menu? this seems a little different to the tutorials ive been watching but ive put this down to me using android studio 0.5.8 can anybody give me any suggestions as to what to try next?
The answer you're looking for is precisely described here... using facebook sdk in android studio
and here, How to import a Module on Android Studio 0.5.1?

Categories

Resources