• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

bash: build.env/: No such file or directory error trying to Build/Run Cuttlefish on PC/ARM64

Hello.

I'm trying to Build/Run Cuttlefish on PC/ARM64. This is the tutorial that Im following :

https://sites.google.com/junsun.net/how-to-run-cuttlefish/home

Im stuck here :

root@ziomario-Z390-AORUS-PRO:/media/ziomario/Elements/android-cuttlefish# repo init -u platform/manifest - Git at Google -b pie-gsi

Downloading Repo source from git-repo - Git at Google
remote: Counting objects: 8, done
remote: Finding sources: 100% (150/150)
remote: Total 150 (delta 70), reused 150 (delta 70)
Receiving objects: 100% (150/150), 139.35 KiB | 1.74 MiB/s, done.
Resolving deltas: 100% (70/70), completed with 14 local objects.
Downloading manifest from platform/manifest - Git at Google
remote: Sending approximately 105.06 MiB …
remote: Counting objects: 1145, done
remote: Finding sources: 100% (3/3)
remote: Total 87072 (delta 26102), reused 87072 (delta 26102)
Receiving objects: 100% (87072/87072), 105.06 MiB | 7.15 MiB/s, done.
Resolving deltas: 100% (26102/26102), done.

repo has been initialized in /media/ziomario/Elements/android-cuttlefish

root@ziomario-Z390-AORUS-PRO:/media/ziomario/Elements/android-cuttlefish# source build.env/
bash: build.env/: No such file or directory

someone can give me some suggestions to fix that eror and goes further with the tutorial ? thanks.

Apps What will be impact of Google Contact API deprecation?

I think it probably means that the API won't be included in a new SDK version introduced then, which means apps using the old API will stop working as devices are updated to that. So the minimum impact would be that an app using the Contacts API won't work on Android 12, which I guess won't bother you at all.

It is much worst than this. Contact API will not work on all Android devices, not only on new devices because this is server side change. Server/Endpoint responsible for Contact API will be shut down and any attempt to access it will be responded with "404 not found". The same as with old SyncML service.

It means many apps on old phones will stop working because either developer will not update these apps with new API (abandoned apps) or updates will not be pushed to old phones for multiple reasons (not built for old Android versions, hardware or software limitations).

Main question here: Will built in Contact app (whatever it is called on different phones) continue to work after the change?

Regarding deprecation of old software (Android Market, for example): it is understandable and not an issue in this case. First, this change is server side change and not related to Android (any platform can use Google APIs). Second, I do not really expect devices on Android 2.x-Android 4.0 to be something more than dumbphone anyway. They can not connect to Google (well, 2.x can not, I did not check 4.0) and, actually, can not be used as smartphones. But this change may affect newer devices - at least 4.1-5.0.

Do Not Disturb exceptions

Is it possible to allow sound through a Bluetooth speaker while Do not disturb is on? I love the DND feature while i sleep. But i also like to listen to a white noise app at night. I tried allowing both the Bluetooth feature and white noise app in the "allow exceptions" setting, but the Bluetooth speaker just silences. Any tips?

New Game: Venus multi slot machine sun casino slots free (Version 0.5)

Bro, there are many sites and services with such games... I started playing thanks to my two friends who constantly played on gangnamholdem.org and after a while, I started playing with them. You can try to play, I think you'll like it. As for the app - it has a pretty big rating actually..4.3 this is a cool rating. But some strange version of the application - 0.5, haha, why exactly this figure? Guys, Who downloaded this app - did you like it? I would like to download it, but before that I need to check its quality and for this I want to get at least a few reviews!

Activity crashing but I don't know why

Hello guys, as I said the activity is crashing. So I'm passing some values from an activity to another using multiple intent.putExtra() to another screen. I can't find why I does work. All helps are welcome.

Bellow is the code where I recover the putExtra()

Java:
public class StatusActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_status);

        TextView pHLevel = (TextView)findViewById(R.id.phLevel);
        TextView organicCLevel = (TextView)findViewById(R.id.organicCLevel);
        TextView nitrogenLevel = (TextView)findViewById(R.id.nitrogenlevel);
        TextView phosphorusLevel = (TextView)findViewById(R.id.phosphorusLevel);
        TextView potassiumLevel = (TextView)findViewById(R.id.potassiumLevel);
        TextView  zincLevel = (TextView)findViewById(R.id.zincLevel);
        TextView temperatureLevel = (TextView)findViewById(R.id.temparatureLevel);
        TextView date1 = (TextView)findViewById(R.id.date);
        String tempMessage="";
        String pHMessage="";
        String organicCMessage="";
        String nitrogenMessage="";
        String phosphorusMessage="";
        String potassiumMessage="";
        String zincMessage="";
        String username = getIntent().getStringExtra("username");
        double pH2 = Double.parseDouble(getIntent().getStringExtra("pH"));
        double organicC2 = Double.parseDouble(getIntent().getStringExtra("organicC"));
        double nitrogen2 = Double.parseDouble(getIntent().getStringExtra("nitrogen"));
        double phosphorus2 = Double.parseDouble(getIntent().getStringExtra("phosphorus"));
        double potassium2 = Double.parseDouble(getIntent().getStringExtra("potassium"));
        double zinc2 = Double.parseDouble(getIntent().getStringExtra("zinc"));
        double temp2 = Double.parseDouble(getIntent().getStringExtra("temp"));
        String date = getIntent().getStringExtra("date");

        //Temperature Level
        if (temp2 >= 24){
            tempMessage = temp2 + " is too high";
        }
        else if (temp2 >= 18 && temp2 <= 24){
            tempMessage = temp2 + " falls withing optimal temperature";
        }
        else if(temp2 < 18){
            tempMessage = temp2 + " temperature too low";
        }
        else
            tempMessage = "Incorrect reading";

        //pH Level
        if (pH2 >= 5.5 && pH2 <= 7.0){
            pHMessage = pH2 + " falls in optimal pH";
        }
        else if(pH2 < 5.5 && pH2>= 0){
            pHMessage = pH2 + " might be too acidic";
        }
        else if(pH2 >7 && pH2 <= 14){
            pHMessage = pH2 + " might be too alkaline";
        }
        else
            pHMessage = "Wrong Measurement!";

        //Organic carbon level
        if (organicC2 < 1.2){
            organicCMessage = "Low fertility";
        }
        else if(organicC2 >= 1.2 && organicC2 <= 1.7){
            organicCMessage = "Medium fertility";
        }
        else if(organicC2 > 1.7){
            organicCMessage = "High fertility";
        }else
            organicCMessage = "Wrong Measurement";

        //nitrogen Level
        if (nitrogen2 >= 0 && nitrogen2 < 15){
            nitrogenMessage = "Level too low";
        }
        else if (nitrogen2 >= 15 && nitrogen2 < 30){
            nitrogenMessage = "Medium level";
        }
        else if (nitrogen2 >= 30){
            nitrogenMessage = "High Level";
        }
        else
            nitrogenMessage = "Wrong measurement";

        //Phosphorus Level
        if (phosphorus2 >= 0 && phosphorus2 < 25){
            phosphorusMessage = "Level too low";
        }
        else if (phosphorus2 >= 25 && phosphorus2 < 50){
            phosphorusMessage = "Medium Level";
        }
        else if (phosphorus2 >= 50){
            phosphorusMessage = "High level";
        }
        else
            phosphorusMessage = "Wrong measurement";

        //potassium Level
        if (potassium2 >= 0 && potassium2 < 60){
            potassiumMessage = "Level too low";
        }
        else if (potassium2 >= 60 && potassium2 < 100){
            potassiumMessage = "Medium level";
        }
        else if (potassium2 >= 100){
            potassiumMessage = "High Level";
        }
        else
            potassiumMessage = "Wrong Measurement";

        //Zinc Level
        if (zinc2 >= 1.6 && zinc2 <= 3){
            zincMessage = "Level too low";
        }
        else if (zinc2 > 3 && zinc2 < 4){
            zincMessage = "Medium level";
        }
        if (zinc2 >= 4 && zinc2 <= 8){
            zincMessage = "High level";
        }
        else
            zincMessage = "Wrong measurement";


        date1.setText(date);
        /*pHLevel.setText(pHMessage);
        organicCLevel.setText(organicCMessage);
        nitrogenLevel.setText(nitrogenMessage);
        phosphorusLevel.setText(phosphorusMessage);
        potassiumLevel.setText(potassiumMessage);
        zincLevel.setText(zincMessage);
        temperatureLevel.setText(tempMessage);*/

    }
}

Help - android studio emulator

Hello.

I am currently working on an app in Android Studio. However, I've come across a problem.
I can't run the emulator anymore and I don't know why. I used to be able to run it, but after having created a database and made some extra changes, I can't run it anymore.

I am trying to fix the problem, but I have no clue how. It is very frustrating!!! can anyone please help a guy in need, please?

I have attached a picture of what it looks like when I try to run it.

Thank you!!
-Balos

Attachments

  • Screenshot 2021-03-24 at 16.56.14.png
    Screenshot 2021-03-24 at 16.56.14.png
    169.4 KB · Views: 212

Filter

Back
Top Bottom