我已经反应原生版本0.42.0.我的项目工作正常.
最近我升级到react-native版本0.43.1.而现在,当我这样做
react-native run-android
Run Code Online (Sandbox Code Playgroud)
我遇到了错误.
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
Run Code Online (Sandbox Code Playgroud)
我已按照https://facebook.github.io/react-native/docs/upgrading.html的升级说明进行操作
我用谷歌搜索了这个问题.通过以下链接,没有一个对我有用.
任何形式的帮助/指导对我都有帮助.
我已经在 Ubuntu 16.04 上安装了 mssql。以下是sql server的详细信息。ms sql(14.0.3015.40-1)即SQL server 2017。
当我运行配置命令时#sudo /opt/mssql/bin/sqlservr-setup
出现错误sudo: /opt/mssql/bin/sqlservr-setup: command not found
我已经停止并重新启动但没有用。
当我通过命令检查状态时 #systemctl status mssql-server
我有
mssql-server.service - Microsoft SQL Server Database Engine
Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Fri 2018-02-02 16:15:29 IST; 4min 20s ago
Docs: https://docs.microsoft.com/en-us/sql/linux
Process: 28050 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=200/CHDIR)
Main PID: 28050 (code=exited, status=200/CHDIR)
Feb 02 16:15:28 chetan-desktop systemd[1]: mssql-server.service: Unit entered failed state.
Feb 02 16:15:28 …Run Code Online (Sandbox Code Playgroud) database sql-server ubuntu-16.04 sql-server-2017 sql-server-linux
我通过运行命令错误地修改了集合中的文档
db.getCollection('Persons').update(
// query
{
},
// update
{
"Branch":"computer"
},
// options
{
"multi" : false, // update only one document
"upsert" : false // insert a new document, if no existing document match the query
}
);
Run Code Online (Sandbox Code Playgroud)
它删除了我的第一个文档中的所有字段,除了 Persons 集合中的 _id 字段。
上面的命令导致
/* 1 */
{
"_id" : ObjectId("5527636be4b0b3959623d6f7"),
"Branch" : "computer"
}
/* 2 */
{
"_id" : ObjectId("5527637ee4b0b3959623d6f8"),
"name" : "rajnish",
"country" : "Bhutan"
}
/* 3 */
{
"_id" : ObjectId("552d133b44aef0215235e3e9"),
"name" : "amol", …Run Code Online (Sandbox Code Playgroud) 我希望在通知中清楚一点BigPictureStyle位图的图像大小.
我已经阅读了一些教程,但无法找到有关此位图的大小规格.
有人告诉他们有2:1的宽高比.
我想要一些清晰度,比如建议的位图/图像大小
NotificationCompat.BigPictureStyle s = new NotificationCompat.BigPictureStyle().bigPicture(bitmap_image);
s.setSummaryText("Summary text appears on expanding the notification");
notificationBuilder.setStyle(s);
Run Code Online (Sandbox Code Playgroud)
请指导我完成这个.
notifications android bitmap push-notification android-notifications
我在 tomcat 服务器上暗示了基本身份验证并配置为具有 ssl 加密。然后我的 tomcat 未启动,显示以下错误
无法在 localhost-config 的 /Servers/Tomcat v7.0 Server 加载 Tomcat 服务器配置。配置可能已损坏或不完整。元素类型“连接器”后面必须跟有属性规范“">”或“/>”。
有什么帮助吗?
android ×1
bitmap ×1
database ×1
mongodb ×1
react-native ×1
sql-server ×1
tomcat7 ×1
tomcat8 ×1
ubuntu-16.04 ×1