创建发布APK时遇到问题

时间:2019-03-01 10:28:22

标签: android react-native gradle android-gradle

在修复了许多错误之后,我购买了在线商店的代码,现在我正在尝试创建发行版apk,但是它仍然给我一个问题,我对此一无所知。

D:\Hamza\wamp64\www\wp\smarti\android\app\src\main\java\com\smarti\store\MainActivity.java:23: error: cannot find symbol
        MainApplication.getCallbackManager().onActivityResult(requestCode, resultCode, data);
        ^
  symbol:   variable MainApplication
  location: class MainActivity
D:\Hamza\wamp64\www\wp\smarti\android\app\src\main\java\com\smarti\store\MainApplication.java:35: error: cannot find symbol
      return BuildConfig.DEBUG;
             ^
  symbol: variable BuildConfig
D:\Hamza\wamp64\www\wp\smarti\android\app\src\main\java\com\smarti\store\SplashActivity.java:11: error: cannot find symbol
            Intent intent = new Intent(SplashActivity.this, MainActivity.class);
                                                            ^
  symbol:   class MainActivity
  location: class SplashActivity
Note: D:\Hamza\wamp64\www\wp\smarti\android\app\src\main\java\com\smarti\store\MainApplication.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

0 个答案:

没有答案