第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

錯誤編譯應(yīng)用程序使用或覆蓋已棄用的 API

錯誤編譯應(yīng)用程序使用或覆蓋已棄用的 API

湖上湖 2023-07-19 10:40:19
當(dāng)我編譯應(yīng)用程序時,它顯示應(yīng)用程序使用或覆蓋已棄用的 API 的錯誤mEmailView =  findViewById(R.id.login_email);      mPasswordView =  findViewById(R.id.login_password);        googleButton = findViewById(R.id.google_button);        mPasswordView.setOnEditorActionListener(new TextView.OnEditorActionListener() {            @Override            public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent) {                if (id == R.integer.login || id == EditorInfo.IME_NULL) {                    attemptLogin();                    return true;                }                return false;            }        });        textView3 = findViewById(R.id.textView3);        String text = "<font color=#cc0029>S</font><font color=#37BAF5>U</font><font color=#E000EE>M</font><font color=#BF0731>O</font>";        textView3.setText(Html.fromHtml(text));        textView3.setScaleX(2.5f);        // instance of FirebaseAuth    }        public void signInExistingUser(View v) {        //  Call attemptLogin() here    attemptLogin();    }    public void registerNewUser(View v) {        Intent intent = new Intent(this, com.one4all.sumotwo.RegisterActivity.class);        finish();        startActivity(intent);    }    private void attemptLogin() {        String email = mEmailView.getText().toString();        String password = mPasswordView.getText().toString();        if (email.equals("") || password.equals("")) {            return;        } else {            Toast.makeText(this, "Login progress...", Toast.LENGTH_SHORT).show();        }
查看完整描述

1 回答

?
慕娘9325324

TA貢獻(xiàn)1783條經(jīng)驗 獲得超4個贊

更新android studio后它就可以工作了。

查看完整回答
反對 回復(fù) 2023-07-19
  • 1 回答
  • 0 關(guān)注
  • 123 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號