小编Sun*_*mar的帖子

我在android studio 0.4.0中看不到AVD管理器窗口

我正在使用Windows 8,android studio 0.4.0 jdk 7_45和jre7安装.JAVA_HOME和JAVA变量也在环境路径变量中设置.

当我点击tools-> android-> avd manager时,它什么都没有显示(甚至没有任何错误).什么都没发生.

我该怎么办?我猜这个版本不是很稳定.

android-virtual-device android-studio

10
推荐指数
2
解决办法
3万
查看次数

'ng add @nguniversal/express-engine' 不起作用

我正在学习angular Universal。在这一步:

ng add @nguniversal/express-engine --clientProject angular.io-example
Run Code Online (Sandbox Code Playgroud)

它应该添加一些文件,即:main.server.ts,但它没有做任何事情。我也用 sudo 尝试了相同的命令。问题是什么?

angular-universal

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

要导入什么来解决"LayoutParams无法解析为变量"?

LayoutParams cannot be resolved to a variable在一行代码上得到错误,如下所示tv.setLayoutParams(new GridView.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0.1f));
当我按ctrl + shift + o导入必要的pacakges我得到了很多版本的包作为选项.我很困惑哪一个应该做这个工作. 是我得到的选项

导入后import android.app.ActionBar.LayoutParams;仍然出错

The constructor AbsListView.LayoutParams(int, int, float) is undefined
Run Code Online (Sandbox Code Playgroud)

resolve android-layout layoutparams

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

BigInteger(长期)在BigInteger中拥有私人访问权限

我试图在BigInteger实例中存储一个大的计算.我试过这个:

BigInteger answer=new BigInteger(2+3);
Run Code Online (Sandbox Code Playgroud)

并得到以下错误:

temp.java:17: error: BigInteger(long) has private access in BigInteger
                        BigInteger answer=new BigInteger(2+3);
                                          ^
1 error
Run Code Online (Sandbox Code Playgroud)

我知道应该有一个字符串值而不是"2 + 3".但我不知道如何满足这个条件(假设我没有多少2 + 3).请告诉我如何为BigInteger对象分配计算值(将2 + 3分配给BigInteger答案).

java private biginteger

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