安卓 apk打包失败,build 出错, if a bad key is used during decryption.

Algorithm HmacPBESHA256 not available

ch issues can arise if a bad key is used during decryption.

not found for signing config ‘externalOverride’.

这些问题只要

删除C:\Users\74408.android,你再打开android studio他会自动创建,这样就回到了原点,一切都好了起来!!

下面凑字数的没不要看,不然你搜索这些问题我这篇推荐你很难看到。

package edu.hebut.baidumap4;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.baidu.mapapi.map.MapView;

public class MainActivity extends AppCompatActivity {

    private MapView mMapView = null;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //获取地图控件引用
        mMapView = (MapView) findViewById(R.id.bmapView);
    }
    @Override
    protected void onResume() {
        super.onResume();
        //在activity执行onResume时执行mMapView. onResume (),实现地图生命周期管理
        mMapView.onResume();
    }
    @Override
    protected void onPause() {
        super.onPause();
        //在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
        mMapView.onPause();
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        //在activity执行onDestroy时执行mMapView.onDestroy(),实现地图生命周期管理
        mMapView.onDestroy();
    }
}

安卓 apk打包失败,build 出错, if a bad key is used during decryption._第1张图片

你可能感兴趣的:(error,bug,android,studio,android)