dlopen失败:找不到库“ libfbc.so”

时间:2019-08-07 01:25:27

标签: java android

我在以下代码中遇到此错误。不确定如何操作。

public class MainActivity extends AppCompatActivity {


    private ArrayList<ClassProjects> Projects;

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


        final ArrayList<ClassProjects> Projects = new ArrayList<>();
        final Button btnSave =(Button) findViewById(R.id.btnSave);
        final EditText MouldCode =(EditText) findViewById(R.id.MouldCodeEdtTxt);
        final EditText ProjectCode =(EditText) findViewById(R.id.ProjectCodeEdtTxt);
        final EditText ProjectName =(EditText) findViewById(R.id.ProjectNameEdtTxt);
        final TextView TextView =(TextView) findViewById(R.id.textView);
        final Button btnDisplay = (Button) findViewById(R.id.btnDisplay);


        btnSave.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View view) {


        Projects.add(new ClassProjects(ProjectCode.getText().toString(),MouldCode.getText().toString(),ProjectName.getText().toString()));



                File myFile = new File("test.txt");

                try (BufferedWriter br = new BufferedWriter(new FileWriter(myFile))){

                    for (int i=0; i<Projects.size(); i++){

                        TextView.setText(Projects.get(0).getmMouldCode());

                        br.write(Projects.get(i).getmMouldCode());

                    }
                }
                catch (IOException e){
                    TextView.setText("NOT SAVED");

                    System.out.println("notSaved");
                }
            }
        });

    }
}

错误:

2019-08-07 10:48:27.586 3373-3373/oxley.it.machinemanagementsystem E/FBC: Can't load library: dlopen failed: library "libfbc.so" not found
2019-08-07 10:48:27.924 3373-3391/oxley.it.machinemanagementsystem E/OpenGLRenderer: Can't load library: dlopen failed: library "libfbc.so" not found

0 个答案:

没有答案