小编Sil*_*ely的帖子

在Win 7上安装SQLite ADO.NET时出错

当我尝试在两个不同的Win 7笔记本电脑上安装ADO.NET版本的SQLite时,我收到以下错误:

Installer.exe: #32 @ 2012.05.06T13:58:34.8921292: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
Installer.exe: #33 @ 2012.05.06T13:58:34.8951293: TraceOps.ShowMessage: Cannot continue, the "confirm" option is not enabled.
Run Code Online (Sandbox Code Playgroud)

我以管理员身份运行Installer.exe.

sqlite ado.net windows-7

6
推荐指数
1
解决办法
8018
查看次数

包裹错误将捆绑包从一个活动传递到另一个活动

我决定使用Parceler,因为它看起来像一个很棒的库,并且得到了作者的很好支持。我正在使用Parceler包装一个对象,并将其传递给捆绑包中的另一个Activity。当我尝试打开对象包装时,出现错误:android.os.Bundle cannot be cast to org.parceler.ParcelWrapper

我的FirstActivity代码:

 User user = responseData.getUser();
    Bundle bundle = new Bundle();
    bundle.putParcelable("User", Parcels.wrap(user));
    Intent intent = new Intent(FirstActivity.this, SecondActivity.class);
    intent.putExtra("User", bundle);
    startActivity(intent);
Run Code Online (Sandbox Code Playgroud)

我的SecondActivity代码:

User user = Parcels.unwrap(this.getIntent().getParcelableExtra("User"));
Run Code Online (Sandbox Code Playgroud)

我怀疑这只是一个新手错误。任何建设性的帮助表示赞赏!

java android parcelable parceler

1
推荐指数
1
解决办法
925
查看次数

标签 统计

ado.net ×1

android ×1

java ×1

parcelable ×1

parceler ×1

sqlite ×1

windows-7 ×1