我有一个问题,
我需要位于我的文件夹资产中的开放式数据库Realm,但我不能
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
RealmConfiguration config = new RealmConfiguration.Builder(MainActivity.this)
.name("BaseDatos.realm").build();
Realm realm = Realm.getInstance(config);
Log.e("realm ",realm.isEmpty()+"");
}
}