Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

How to launch firefox focus in android studio using the github repo

  • 4 válasz
  • 1 embernek van ilyen problémája
  • 1 megtekintés
  • Utolsó üzenet ettől: focussed_firefox

more options

Hi, I am trying to contribute to open source software (firefox focus in particular, since I am familiar working with Java). I clone'd the repo from github: https://github.com/mozilla-mobile/focus-android

I opened the repo in Android Studio. How do I now configure it to run / launch firefox focus? I tried looking for documentation to get set up, but the Readme on the link above just mentions to "Import the project into Android Studio".

Here is a link to a screenshot of when I try to run it as an android app: https://preview.redd.it/mdyg1vcvcxi41.png?width=1073&format=png&auto=webp&s=bdcf5f6f51d59c9b107b459a0e2fc76dd6db059f

I cannot select any module, and I tried to launch a specified activity (MainActivity) but run is still grayed out.

Thanks in advance!

Hi, I am trying to contribute to open source software (firefox focus in particular, since I am familiar working with Java). I clone'd the repo from github: https://github.com/mozilla-mobile/focus-android I opened the repo in Android Studio. How do I now configure it to run / launch firefox focus? I tried looking for documentation to get set up, but the Readme on the link above just mentions to "Import the project into Android Studio". Here is a link to a screenshot of when I try to run it as an android app: https://preview.redd.it/mdyg1vcvcxi41.png?width=1073&format=png&auto=webp&s=bdcf5f6f51d59c9b107b459a0e2fc76dd6db059f I cannot select any module, and I tried to launch a specified activity (MainActivity) but run is still grayed out. Thanks in advance!

Kiválasztott megoldás

Hi

Thank you for your question

When you open Android Studio, there should be a smaller splash-type screen that allows you import a project. Select this and then navigate to the .zip file from the repo to import it.

I hope this helps.

Válasz olvasása eredeti szövegkörnyezetben 👍 0

Összes válasz (4)

more options

Kiválasztott megoldás

Hi

Thank you for your question

When you open Android Studio, there should be a smaller splash-type screen that allows you import a project. Select this and then navigate to the .zip file from the repo to import it.

I hope this helps.

more options

Hi, I clone'd the repo. This created a `focus-android` folder with all of these folders and files in it: https://github.com/mozilla-mobile/focus-android

Which .zip file are you referring to?

I imported the entire focus-android folder in android studio. I am at this step now, and want to run / launch it from within android studio (using an emulator). But I can't seem to figure out how to edit configurations.

Referring to this: https://preview.redd.it/mdyg1vcvcxi41.png?width=1073&format=png&auto=webp&s=bdcf5f6f51d59c9b107b459a0e2fc76dd6db059f

do I configure it as an android app? Or Kotlin?

Or is there another way of doing it?

Thanks!

more options

I tried downloading the .zip file from github, and then importing the .zip file in android studio but it says the project file specified already exists. I tried deleting the .idea but it still doesn't work. :(

more options

Hi, quick update. I ran the build and it did create the debug apk file. I ran the build from command line and then through android studio again. Now, when I try to edit configurations, it says "Error: Module not specified" and I cannot specify any module. You could see over here: https://preview.redd.it/mdyg1vcvcxi41.png?width=1073&format=png&auto=webp&s=bdcf5f6f51d59c9b107b459a0e2fc76dd6db059f


it says "no module" and when I click the drop down, I cannot select a module. Any idea how to fix this?