Android 无法从Google play Store运行应用程序
我创建了一个名为“onlineContact”的应用程序,将您的联系人保存在云中,您可以使用登录从任何Android手机访问您的联系人。当我测试这个应用程序时,它运行良好。我把手机和电脑连接起来,在安卓工作室运行,很好。所以,我在谷歌Play Store上上传了这个应用程序,但当我从Play Store下载并安装这个应用程序时,它并没有工作。这有什么问题吗 这是我在Play store上的应用程序链接 单击任何链接(如登录、创建帐户或忘记密码)进行安装。Android 无法从Google play Store运行应用程序,android,google-play,Android,Google Play,我创建了一个名为“onlineContact”的应用程序,将您的联系人保存在云中,您可以使用登录从任何Android手机访问您的联系人。当我测试这个应用程序时,它运行良好。我把手机和电脑连接起来,在安卓工作室运行,很好。所以,我在谷歌Play Store上上传了这个应用程序,但当我从Play Store下载并安装这个应用程序时,它并没有工作。这有什么问题吗 这是我在Play store上的应用程序链接 单击任何链接(如登录、创建帐户或忘记密码)进行安装。 当你点击其中任何一个时,它就崩溃了 我在
当你点击其中任何一个时,它就崩溃了 我在android studio中再次尝试并安装了它,它运行良好。现在,我如何检查这个问题的根源。我无法将我的应用程序的所有代码都放在这里。请帮我做我能做的 更新 梯度球(模态:应用程序) 后勤活动 公共类LoginActivity扩展了AppCompatActivity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
}
protected void login(View view){
EditText etxtPhoneNumber = (EditText) findViewById(R.id.etxtPhoneNumber);
EditText etxtPassword = (EditText) findViewById(R.id.etxtPassword);
String phoneNumber = etxtPhoneNumber.getText().toString();
String password = etxtPassword.getText().toString();
String action = "login";
BackgroundWorker backgroundWorker = new BackgroundWorker(this);
backgroundWorker.execute(action, phoneNumber, password);
}
protected void forgetPassActivity(View view){
startActivity(new Intent(this, ForgetPassword.class));
}
protected void createAccount(View view){
Intent loginIntent = new Intent(this, CreateAccount.class);
startActivity(loginIntent);
}
@Override
public void onBackPressed() {
moveTaskToBack(true);
}
}
当我运行应用程序时,此活动可以正常打开,但当我单击任何按钮时,它将无法继续工作。它将崩溃。您是否使用ProGuard在生产中混淆您的代码?发布您的构建。gradle请不要使用代码和堆栈跟踪,我们只能猜测。@JuanCruzzoler我更新我的问题,请检查它。当我更新时,应用程序工作正常从android studio安装的。但在我从play安装ot时不起作用store@GabeSechan这是一个巨大的代码。我无法将所有代码放在这里。我认为如果应用程序在android studio上运行,它必须在play store上运行。但在我的情况下,它不是。请根据攻击跟踪将相关代码放在这里
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
}
protected void login(View view){
EditText etxtPhoneNumber = (EditText) findViewById(R.id.etxtPhoneNumber);
EditText etxtPassword = (EditText) findViewById(R.id.etxtPassword);
String phoneNumber = etxtPhoneNumber.getText().toString();
String password = etxtPassword.getText().toString();
String action = "login";
BackgroundWorker backgroundWorker = new BackgroundWorker(this);
backgroundWorker.execute(action, phoneNumber, password);
}
protected void forgetPassActivity(View view){
startActivity(new Intent(this, ForgetPassword.class));
}
protected void createAccount(View view){
Intent loginIntent = new Intent(this, CreateAccount.class);
startActivity(loginIntent);
}
@Override
public void onBackPressed() {
moveTaskToBack(true);
}
}